Ryan McKinley
82417c916f
K8s: Use stacks plural not singular in grafana namespaces ( #92550 )
2024-08-29 14:15:00 +03:00
Charandas
af2e79aa83
K8s: namespace mapper should use authlib's util ( #92332 )
2024-08-27 15:01:42 -07:00
maicon
de2c9a06bf
Unified Storage: First iteration Dual Write Syncer ( #89809 )
...
* Unified Storage: First iteration Dual Write Syncer
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Leonor Oliveira <9090754+leonorfmartins@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-08-27 13:31:40 -03:00
Ryan McKinley
419edef4dc
LibraryPanels: Expose library panels in dashboard apiserver ( #92213 )
2024-08-27 12:12:22 +03:00
Ryan McKinley
2136fd9a92
Storage: Remove unified storage feature flag ( #92192 )
...
remove unified storage flag
2024-08-21 19:28:30 +03:00
Ryan McKinley
a0cd89860e
Identity: Add endpoint to get display info for an identifier ( #91828 )
2024-08-15 14:38:43 +03:00
Todd Treece
1b0e6b5c09
K8s: Data Plane Aggregator ( #91228 )
2024-08-13 22:28:17 +03:00
Leonor Oliveira
d52d04b6d8
Revert "Use dw dynamic config" ( #91846 )
...
Revert "Use dw dynamic config (#91222 )"
This reverts commit 0258842f87 .
2024-08-13 17:24:26 +02:00
Leonor Oliveira
0258842f87
Use dw dynamic config ( #91222 )
...
* Remove kubernetesPlaylists feature_toggle
* Remove unified_storage_mode
* Remove double import
* Regenerate feature-toggles
* Read from config instead from feature_toggle
* cover scenario for when unified storage is not defined
2024-08-13 10:03:28 +02:00
Todd Treece
75f0b3a228
K8s: Test for changes to aggregator's postStartHooks ( #91771 )
2024-08-10 20:32:57 -04:00
Todd Treece
5972dd0b59
Chore: Update names of DisabledPostStartHooks ( #91767 )
2024-08-09 16:57:08 -04:00
Ryan McKinley
243c0935fc
Auth: Use claims.AuthInfo in requester ( #91739 )
2024-08-09 19:46:56 +03:00
Todd Treece
b4126d3bce
Chore: Update k8s.io dependencies ( #91692 )
2024-08-08 18:39:44 +03:00
owensmallwood
2387798719
Unified Storage: Propagate traces from the apiserver grpc client ( #91226 )
2024-08-06 09:52:11 -06:00
Ryan McKinley
a223c46506
APIServer: Make TableConverter part of ResourceInfo ( #91520 )
2024-08-05 15:38:12 +03:00
Leonor Oliveira
6f6a06435d
Remove unified_storage_mode reference in the grafana repo ( #91481 )
2024-08-02 15:40:05 +02:00
Charandas
a3d3f9a1e4
Revert "Identity: Remove id token from extra info ( #91169 )" ( #91350 )
...
This reverts commit 10170cb839 .
2024-07-31 21:27:46 +03:00
Ryan McKinley
160fe2a3a4
Storage: Remove entity store ( #91233 )
2024-07-31 09:25:39 +03:00
Ryan McKinley
10170cb839
Identity: Remove id token from extra info ( #91169 )
2024-07-31 09:14:13 +03:00
Ryan McKinley
728150bdbd
Identity: extend k8s user.Info ( #90937 )
2024-07-30 08:27:23 +03:00
Leonor Oliveira
8345af928c
[Dual writer] Read kind value passed as dualwriter's argument ( #91113 )
...
* Include kind on the dualwriter to be used on metrics
* Use kind as argument
* Skip dual writer in mode4
2024-07-29 13:57:44 +02:00
Ryan McKinley
be7b1ce2df
Chore: Replace appcontext.User(ctx) with identity.GetRequester(ctx) ( #91030 )
2024-07-26 16:39:23 +03:00
Georges Chaudy
4baca6947d
ResourceServer: make the resource store the default unified storage backend ( #90899 )
...
* make the resource store the default unified storage backend
* add integration tests
* fix test non passing
* Update pkg/storage/unified/sql/test/integration_test.go
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
* lint
* fix tests
* fix no rows
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-07-25 18:17:39 +02:00
Ryan McKinley
9db3bc926e
Identity: Rename "namespace" to "type" in the requester interface ( #90567 )
2024-07-25 12:52:14 +03:00
Leonor Oliveira
ec343f276f
Dual writer: mode 4 ( #90581 )
...
* Itroduce watcher and mode4
* Logging
* Mode4 should be initialized from the dual writer for observability
* Comment watch while it's not implemented
* Lint
* Use mode log when dual writer is initiated
* Use error from logger
2024-07-24 14:10:10 +02:00
Georges Chaudy
08c611c68b
ResourceServer: Resource store sql backend ( #90170 )
2024-07-18 08:03:18 -07:00
Ryan McKinley
6e39f24588
Storage: Update storage.Interface for backend ( #90382 )
2024-07-18 07:47:47 -07:00
Charandas
4abb4d1662
ExtJwt: don't log verify errors as they spam for grafana-agent ( #90351 )
...
* ExtJwt: don't log verify errors as they spam for grafana-agent
* remove dead code
* revert unintended change
* revert unintended change
2024-07-11 18:23:43 -07:00
Ryan McKinley
d2bc4f3255
DualWrite: Cleanup and centralize the dual write creation ( #90013 )
2024-07-11 23:23:31 +03:00
Marcus Efraimsson
2cf3a4d9ee
API Server: Override k8s api server profile contention flag with custom ones ( #90238 )
...
Upgrades sdk ro v0.238.0
2024-07-10 17:27:51 +02:00
Ryan McKinley
079f0715aa
ResourceServer: Add resource server protobuf and wrapper ( #90007 )
2024-07-09 15:08:13 -07:00
Charandas
c210617735
K8s: use contexthandler in standalone handler chain ( #90102 )
2024-07-08 12:22:10 -07:00
Todd Treece
5f9ce12542
K8s: Generic watch tests ( #90023 )
2024-07-05 21:17:20 +03:00
Todd Treece
274bd08afc
K8s: Improve key generation and parsing ( #90014 )
2024-07-04 01:11:45 +03:00
Todd Treece
9c6d3590a2
Chore: Fix apiserver circular dependencies ( #89918 )
2024-07-01 11:42:34 -04:00
Todd Treece
71270f3203
Storage: Avoid relying on RequestInfo ( #89635 )
2024-06-25 10:06:03 -04:00
Ryan McKinley
70cd002826
Storage: Make entity to runtime.Object conversion public ( #89549 )
...
* make conversion public
* make conversion public
2024-06-21 16:28:09 +03:00
Ryan McKinley
93ef90a1e4
K8s: remove (not great) example api ( #89524 )
2024-06-21 10:23:08 +03:00
Ryan McKinley
27e800768e
K8s: Improve identity mapping setup ( #89450 )
2024-06-20 17:53:07 +03:00
Ryan McKinley
9b7f9ae22e
K8s: Rename origin.key to origin.hash ( #89337 )
2024-06-18 22:27:16 +03:00
Leonor Oliveira
fd44f2ee4f
Init dualwriter metrics ( #89003 )
...
* Pass prometheus registerer to the dual writer
* Fix tests
* Remove unused var
* Fix tests
* Uncomment test
* Remove leading line
* Fix tests. Reuse registerer if there's already one
* Lint
* Improve double registering logic
* Rebase main
2024-06-14 11:01:49 +02:00
Marcus Efraimsson
1abaa825c6
Tracing: Only enable traces to profiles for api servers for now ( #89126 )
2024-06-12 19:36:31 +03:00
Ryan McKinley
3ae95a6eb1
K8s: Update grafana resource metadata accessor ( #89074 )
2024-06-12 14:39:37 +03:00
Will Browne
7d8722b561
API server: Add shutdown func to interface ( #88827 )
...
add shutdown func to interface
2024-06-06 15:18:54 +01:00
Diego Augusto Molina
6fcd7d9e03
Unified Storage: Fix Create, Update and Delete wrt Resource Versions ( #88183 )
...
* add sqltemplate utilities, improve tests and documentation
* bunch of things
* remove unnecessary message
* add queries
* add queries
* add queries
* add folders support
* fix diff
* fix linters
* fix diff
* fix linters
* fix linters
* fix typo
* fix linters
* fix linters
* fix linters
* several fixes
* several fixes
* temporarily disable k8s integration tests for Entity Server
* postpone some tests
* postpone documentation changes
* Fix bug in create
* improve error reporting
* fix PostgeSQL parameters
* fix MySQL sqlmode
* fix MySQL-5.7
* reduce but document the number of database connection options
* remove unused code and improve docs
2024-06-05 14:23:32 -03:00
Ryan McKinley
71be5c6eb4
K8s: Remove action metadata key ( #88591 )
...
* remove action
* remove action
* remove action
* fix test
2024-06-05 07:37:36 +03:00
Arati R
36f42853dd
Storage: Read desired mode from config instead of feature flags ( #88353 )
...
* Read desired mode from config
* Update playlist integration tests
* Add mode 1 playlist integration tests
* Add mode 0 dual writing to playlist integration tests
* Add documentation for the different dual writing modes
2024-05-31 19:29:59 +02:00
Giuseppe Guerra
2b54ce6c51
Chore: Bump google.golang.org/grpc to 1.64.0 ( #88219 )
...
* Bump google.golang.org/grpc to 1.64.0
* Address grpc.Dial deprecation notices
* go mod tidy
* Update go.work.sum
* go work sync
2024-05-27 12:44:39 +02:00
Ryan McKinley
42b0f802de
QueryTypes: Add feature toggle to show query types in datasource apiservers ( #88213 )
...
* initial attempt
* show query types
* show query types
* with formatting
* with formatting
* more cleanup
* add feature toggle
* fix build
2024-05-23 18:46:28 +02:00
Daniele Stefano Ferru
fbda55316d
K8s: Set X-Remote-Extra-User-Instance-Role header for SignedInUser ( #87958 )
2024-05-16 12:57:49 +03:00