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
Leonor Oliveira
ade96dbdbd
Introduce Comparator interface ( #88016 )
...
* Introduce Comparator interface
* Add compare implementation everywhere
* Add comment explaining what Compare should do
* Lint
2024-05-29 09:42:24 +02:00
Marcus Efraimsson
0b1aec6767
Tracing: Various improvements ( #88308 )
2024-05-27 14:21:40 +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
Arati R
0ffc4c441b
Storage: Add mode reconciliation for modes 1 and 2 ( #87919 )
...
* Add skeleton implementation for mode reconciliation between 1 and 2
* Track mode for each dual writer
* Add test for setting dual writer
* Include context when setting dual writing mode
---------
Co-authored-by: Dan Cech <dcech@grafana.com>
2024-05-23 00:12:46 +02:00
Marcus Efraimsson
8ea0b336d5
API Server: Include traceID in HTTP request logs ( #88179 )
2024-05-22 17:56:34 +02:00
Marcus Efraimsson
9e6f18c947
API Server: Add temporary request log for queries ( #88103 )
2024-05-21 13:07:47 +02:00
Ryan McKinley
6d10797812
Errors: Update errutil to be compatible with k8s errors ( #87605 )
2024-05-20 18:11:37 +03:00
Arati R
6836bfe1ea
Storage: Customise setting dual writing modes ( #87668 )
...
* Add feature toggles for mode 2 and 3 playlist dual writing
* Make current mode customised based on kind
* Check feature flags when initialising dual writer
* Fix linting
* Refactor NewDualWriter
2024-05-14 14:11:56 +02:00
Carl Bergquist
3160a4d909
ScopeNodes: Add naive filter functionality for scopenode.titles ( #87721 )
2024-05-13 18:21:09 +03:00
Ryan McKinley
f880abc292
QueryService: Move raw http.Handler to rest.Connector ( #87595 )
...
* query connector
* improve error wrappers
* return 400 for missing datasource (not 404)
* fix errors
* message
2024-05-10 21:01:17 +03:00
Kyle Brandt
baed7d6dbe
Scopes: Fix logic in find call ( #87565 )
...
With Find, if the parent query parameter is empty or not provided, we want to list the top level of the forest.
2024-05-09 11:52:56 -04:00
Todd Treece
6e4d35e1ee
Scopes: Add a /find query endpoint ( #87457 )
...
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-05-08 13:35:11 -04:00
Leonor Oliveira
ee2f6a7b49
Force interface implementation also on legacy storage ( #87414 )
...
* Force interface implementation also on legacy storage
* Add DeleteCollection to folders and dashboards
* Fix integration tests
* Fix tests
2024-05-07 15:02:30 +02:00
Carl Bergquist
7a6bef8f9c
Scopes: Adds kinds for browsing the scope node tree. ( #86975 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2024-05-03 09:48:54 +02:00
Arati R
4db5ec28a1
Storage: Enable mode 2 dual writing for playlists ( #87245 )
...
Enable mode 2 dual writing for playlists
2024-05-02 16:52:29 +02:00
Arati R
9e6de035c0
Storage: Add mode 2 dual writing improvements ( #87204 )
...
* Fix mode 2 List test
* Set origin timestamp during conversion to k8s resource
* Add instructions for updating a playlist
* Handle partial deletions of a collection in mode 2
2024-05-02 16:06:51 +02:00
Ryan McKinley
5a8384a245
QueryService: Add feature toggles to better support testing ( #86493 )
2024-04-19 12:26:21 +03:00
Dave Henderson
5687243d0b
Feature Flags: use FeatureToggles interface where possible ( #85131 )
...
* Feature Flags: use FeatureToggles interface where possible
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* Replace TestFeatureToggles with existing WithFeatures
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-04-04 12:22:31 -04:00
Karl Persson
504870f10a
Auth: Decouple client and hook registration ( #85084 )
2024-04-04 09:33:00 +02:00
Marcus Efraimsson
c9ab4e3a9e
DS apiserver: Fix resource path ( #85494 )
2024-04-02 20:09:18 +02:00
Ryan McKinley
dd6c8732b3
Scopes: Add basic integration tests ( #85351 )
...
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2024-03-29 16:12:28 +02:00
Kyle Brandt
136f8e6f0c
Scopes: Add Filtering for ScopeDashoardBinding and Update Prometheus for ScopeFilterOperator Changes ( #85284 )
2024-03-27 11:39:55 -04:00
Kyle Brandt
fe209fdf7c
Revert "Scopes: Add more BE filtering (field selectors) ( #85169 )" ( #85264 )
...
This reverts commit 222f93794d
.
2024-03-27 15:47:48 +02:00
Kyle Brandt
222f93794d
Scopes: Add more BE filtering (field selectors) ( #85169 )
2024-03-27 13:10:49 +00:00
Sofia Papagiannaki
5ebf2d08f6
Provisioning: Fix regression when dashboardProvisioner is accessed before being initialised ( #85011 )
...
* Provisioning: Fix regression when dashboardProvisioner is accessed before being initialized
* Set dashboard provisioner in the provider
2024-03-26 12:32:56 +02:00
Ryan McKinley
4cda34ff7d
Expressions: Create json schema for query types ( #84032 )
2024-03-26 06:58:56 +02:00
Todd Treece
dfe61db7a5
Scopes: Add type filter ( #84866 )
...
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2024-03-25 16:45:32 -04:00
Ryan McKinley
e6fa367d02
k8s/query+ds: catch query errors, fix datasourceProvider and expose prometheus ( #85071 )
2024-03-25 17:22:34 +03:00
Ezequiel Victorero
c57c033522
Snapshots: Viewers can not create a Snapshot ( #84952 )
2024-03-22 14:31:01 -03:00
Andres Martinez Gotor
a705ff7892
API Server: refactor plugin ID handling ( #84753 )
2024-03-20 13:49:19 +01:00
Ryan McKinley
e27c08cfa9
QueryService: Return application/json and better errors ( #84234 )
2024-03-19 15:52:15 +02:00
Marcus Efraimsson
e978d0810e
DS apiserver: Minor fixes ( #84691 )
2024-03-19 09:02:52 +01:00
Kyle Brandt
aac2cf0aa5
Scopes: Update BE API to include object for linking scope to dashboards ( #84608 )
...
* Add ScopeDashboard
---------
Co-authored-by: Todd Treece <todd.treece@grafana.com>
2024-03-18 09:22:28 -04:00
Andres Martinez Gotor
6204f1e847
Chore: Use SigV4 middleware from aws-sdk ( #84462 )
2024-03-18 09:33:22 +01:00
Gilles De Mey
fe15bb5f48
Alerting: Update composable_kind.go ( #84479 )
...
update composable_kind.go
2024-03-14 17:20:23 +02:00
Gilles De Mey
8765c48389
Alerting: Remove legacy alerting ( #83671 )
...
Removes legacy alerting, so long and thanks for all the fish! 🐟
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
Co-authored-by: Sonia Aguilar <soniaAguilarPeiron@users.noreply.github.com>
Co-authored-by: Armand Grillet <armandgrillet@users.noreply.github.com>
Co-authored-by: William Wernert <rwwiv@users.noreply.github.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2024-03-14 15:36:35 +01:00
Charandas
b6a020148b
K8s: disallow MT storage functionality for Aggregator builders ( #84408 )
2024-03-14 01:54:30 +02:00
Selene
5c7849417b
Schemas: Replace registry generation and github workflow ( #83490 )
...
* Create small registries for core and composable kinds
* Update workflow with new registries
* Fix imports in plugin schemas and deleted old registry generation files
* Remove verification and maturity
* Modify registries and add missing composable information to make schemas in kind-registry work
* Add missing aliases
* Remove unused templates
* Remove kinds verification
* Format generated code
* Add gen header
* Delete unused code and clean path in composable template
* Delete kind-registry loader
* Delete unused code
* Update License link
* Update codeowners path
* Sort imports
* More cleanup
* Remove verify-kinds.yml from codeowners
* Fix lint
* Update composable_kidns
* Fix cue extension
* Restore verify-kinds to avoid to push outdated kind's registry
* Fix composable format
* Restore code owners for verify-kinds
* Remove verify check
2024-03-13 18:05:21 +02:00
Andres Martinez Gotor
c061cc33cc
Chore: Use response limit middleware from SDK ( #83915 )
2024-03-13 10:14:16 +01:00
Leonard Gram
5a123bda80
CloudMigration: wires the service ( #84081 )
2024-03-11 12:40:26 +01:00
Ryan McKinley
d82f3be6f7
QueryService: Use types from sdk ( #84029 )
2024-03-08 18:12:59 +02:00
Ryan McKinley
d7bcd119c3
K8s: improve openapi generation ( #83796 )
2024-03-02 00:26:04 +02:00
Charandas
b87ec69431
K8s: add a remote services file config option to specify aggregation config ( #83646 )
2024-02-29 17:29:05 -08:00
Andres Martinez Gotor
fc8a9aad22
Datasource API: Add config to ctx ( #83386 )
2024-02-26 13:02:55 +01:00
Todd Treece
e5a26a3f7c
K8s: Add apimachinery and apiserver packages ( #83190 )
2024-02-23 15:15:43 -05:00
Kyle Brandt
4859cdeae5
K8S/Scopes: App-server for storing scope objects ( #81996 )
...
Build out app-server stub
---------
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2024-02-20 18:28:27 +02:00
Todd Treece
d6e6298103
K8s: Add Aggregation to Backend Service ( #81591 )
...
Co-authored-by: Charandas Batra <charandas.batra@grafana.com>
2024-02-12 22:59:35 +02:00
Ryan McKinley
ce910a7eb2
FeatureFlags: manage creation/modification times automatically ( #82131 )
2024-02-09 15:34:12 -08:00
João Calisto
42d6e176bc
Feature Toggle Management: allow editing PublicPreview toggles ( #81562 )
...
* Feature Toggle Management: allow editing PublicPreview toggles
* lint
* fix a bunch of tests
* tests are passing
* add permissions unit tests back
* fix display
* close dialog after submit
* use reload method after submit
* make local development easier
* always show editing alert in the UI
* fix readme
---------
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2024-02-09 18:48:56 +02:00