Ryan McKinley
20a27da636
FeatureFlags: Add helper to check against a set of flags ( #97240 )
2024-12-02 21:41:41 +02:00
Carl Bergquist
21bd47e512
scopes: behind its own feature flag ( #97077 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-11-27 08:58:25 +01:00
Ryan McKinley
36c38b5310
APIServer: add prometheus.Registerer to every init request ( #94684 )
2024-10-15 07:46:08 +03:00
Charandas
db97da3465
K8s: handle multiple versions of the same group in standalone mode ( #93199 )
2024-09-23 19:07:52 -07:00
Carl Bergquist
56616e69a1
scopes: sort scope dashboard bindings on dashboard title ( #93305 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-09-13 07:51:08 -04:00
Carl Bergquist
350c227da6
Scopes: Add more logging in custom handler ( #93263 )
...
scope api:add more logging in custom handler
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-09-12 15:03:16 +03:00
Carl Bergquist
56d35d32e2
Scopes: increase limit on list calls to storage ( #92687 )
...
scopes: increase limit on list calls to storage
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-08-29 18:12:11 +03:00
2bb2183b41
Scopes: Move title and groups to status in ScopeDashboardBinding ( #92377 )
...
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-08-28 08:59:18 -04:00
Todd Treece
85ef26a85d
K8s: Add generic support for status ( #92378 )
2024-08-28 03:45:04 +03:00
Ryan McKinley
a223c46506
APIServer: Make TableConverter part of ResourceInfo ( #91520 )
2024-08-05 15:38:12 +03:00
Ryan McKinley
d2bc4f3255
DualWrite: Cleanup and centralize the dual write creation ( #90013 )
2024-07-11 23:23:31 +03:00
Todd Treece
9c6d3590a2
Chore: Fix apiserver circular dependencies ( #89918 )
2024-07-01 11:42:34 -04:00
Leonor Oliveira and Dan Cech
2645958c8c
Use global function to compare any entity to both stores ( #89282 )
...
* WIP implement generic compare interface
* Use global compare fn for all entities
* Lint
* Update pkg/apiserver/rest/dualwriter.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Don't need to hash, just compare bytes
* Fix tests
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-06-26 10:19:40 +02:00
Todd Treece
71270f3203
Storage: Avoid relying on RequestInfo ( #89635 )
2024-06-25 10:06:03 -04: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
Ryan McKinley
3ae95a6eb1
K8s: Update grafana resource metadata accessor ( #89074 )
2024-06-12 14:39:37 +03:00
16cc75b02c
Scopes: Add Handler for returning dashboards related to a list of scopes. ( #87758 )
...
- Adds a find endpoint to return dashboard bindings that match any of the scopes. For example /apis/scope.grafana.app/v0alpha1/namespaces/default/find/scope_dashboard_bindings?scope=s1&scope=s2
- Updates the ScopeNode find endpoint to a new path, /find/scope_node_children , makes the key "items" for all find endpoints (instead of mix of "found" and "items"), and makes the list item type a ScopeNode instead of its own type.
- Updates kubectl get commands to return more information about scopes, scopenodes, and scopedashboard bindings to display more fields in table output
---------
Signed-off-by: bergquist <carl.bergquist@gmail.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Kyle Brandt <kyle@grafana.com >
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2024-06-05 11:47:36 -04:00
Carl Bergquist
c99fe4f970
Scopes: Add DashboardTitle to scopedashboardbinding ( #88609 )
...
scopes: add title to scopedashboardbinding
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-06-04 10:36:03 +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
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
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
Carl Bergquist
3160a4d909
ScopeNodes: Add naive filter functionality for scopenode.titles ( #87721 )
2024-05-13 18:21:09 +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 and Ryan McKinley
6e4d35e1ee
Scopes: Add a /find query endpoint ( #87457 )
...
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-05-08 13:35:11 -04: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
Ryan McKinley and Kyle Brandt
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
Todd Treece and Kyle Brandt
dfe61db7a5
Scopes: Add type filter ( #84866 )
...
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-03-25 16:45:32 -04:00
Kyle Brandt and Todd Treece
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
Todd Treece
e5a26a3f7c
K8s: Add apimachinery and apiserver packages ( #83190 )
2024-02-23 15:15:43 -05:00
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