Alexander Zobnin
cbb688e910
Zanzana: Remove usage from legacy access control ( #98883 )
...
* Zanzana: Remove usage from legacy access control
* remove unused
* remove zanzana client from services where it's not used
* remove unused metrics
* fix linter
2025-01-14 10:26:15 +01:00
maicon
766d645d82
Filewalkwithme/unistore refactor folder service to hit folder apiserver ( #98409 )
...
Refactor folder service to use Unified Storage
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-01-13 18:15:35 -03:00
Stephanie Hingtgen
9ec10be1c7
K8s: Provisioned dashboard support ( #98843 )
2025-01-13 08:14:12 -06:00
Scott Lepper
01aeb56646
[search] fix browse mode to show dashboards ( #98842 )
...
[search] fix browse mode to show dashboards
2025-01-11 11:09:31 -05:00
Matthew Jacobson
ad1417b732
Alerting: Return default builtin templates in k8s templategroup API and UI ( #96330 )
...
* Alerting: PoC - default template in k8s templategroup API
* Move code to grafana/alerting
* Move validation to admission validation abstraction
* Testing
* Linting
* Workspace update
* Update grafana/alerting hash to the merged commit
* More user-friendly name and remove need for CREATE/UPDATE validation
Use __default__ for k8s object name and UID so that we don't need to restrict
CREATE/UPDATE for similarly named user-owned templates.
2025-01-10 19:53:18 -05:00
Ryan McKinley
ed39259461
Search: Replace Origin calls with Repository ( #98754 )
2025-01-10 20:27:10 +02:00
Scott Lepper
07d3bdbe72
[search] - filter by starred ( #98651 )
...
[search] - filter by starred
2025-01-09 16:45:04 -05:00
Stephanie Hingtgen
5ed2a4c624
K8s: Dashboards: Add deletion validation for provisioned dashboards ( #98504 )
2025-01-08 06:58:21 -06:00
Stephanie Hingtgen
c566e6af4e
K8s: Dashboards: Fix search parsing ( #98560 )
2025-01-06 15:41:45 -06:00
Ryan McKinley
d1d7c0850f
Search: Explain scores ( #98316 )
2025-01-06 11:25:32 -05:00
Stephanie Hingtgen
b4ab55ae38
K8s: Dashboard spec should not have id ( #98336 )
2025-01-03 09:28:45 -06:00
Stephanie Hingtgen
5429512779
K8s: Restores: Put behind a feature toggle ( #98472 )
2025-01-03 07:48:47 -07:00
Leonor Oliveira
937e8dea2d
Folder/parent subresource ( #98392 )
...
* Expose get folder parents endpoint
* Add tests
2025-01-03 10:43:56 +01:00
Stephanie Hingtgen
03f7a7d89d
K8s: Dashboards: Add search to dashboard service ( #98395 )
2025-01-02 09:39:45 -06:00
maicon
d2639f6080
Ensure all internal Services are using FolderService and not FolderStore ( #98370 )
...
* Ensure all internal Services are using FolderService and not FolderStore
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-12-30 13:48:35 -03:00
Leonor Oliveira
fec5c0ec19
Make sure annotations are kept when updating a folder ( #98321 )
...
* Make sure annotations are kept when updating a folder
* Remove pointer
* Mock get on update tests
2024-12-27 13:51:10 +01:00
Ryan McKinley
bc535181cf
K8s/Dashboard: Always set an internl id (even in mode 4+) ( #98320 )
2024-12-20 22:17:59 +02:00
Ryan McKinley
1a46039037
K8s/Dashboards: Pass the legacy internal ID into labels ( #98311 )
...
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
2024-12-20 21:33:49 +02:00
Charandas
24bf337c56
Playlists: convert to use reconcilers instead ( #98075 )
2024-12-19 19:09:31 -08:00
Scott Lepper
a8f347144d
wire up the ui to the new search api ( #97866 )
...
wire up the ui to the new search api
Co-authored-by: Scott Lepper <scott.lepper@gmail.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-12-19 13:21:48 -05:00
Leonor Oliveira
58c44f6c66
Trim folder title ( #98275 )
2024-12-19 17:56:14 +01:00
Leonor Oliveira
f5d44ff51d
Folders move ( #98100 )
2024-12-19 09:59:14 +01:00
maicon
2e08092a34
UniStore: Get Folder Handler return Root Folder (general) ( #98127 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-12-18 22:31:55 -03:00
Jackson Coelho
f46c07aba7
feat: Add investigations app backend ( #98084 )
...
* add initial structure for investigations app backedn
* update version
* Fix codegen & paths
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Fix Go workspace and CODEOWNERS
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* update kinds for investigation
* update dockerfile
* update codeowners
* update dependabot
* update golangci
* add investigation app and watcher
* run make update-workspace
* run make update-workspace
* register investigation app
* add investigation app to wireset
* add investigations app provider to api initializer
* fix imports
* update feature toggle
* fix cue definition and api initializer
* clean up removing unecessary components
* remove watcher feature toggle
* add investigations backend behind feature toggle
* revert change
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com >
2024-12-18 10:31:03 +02:00
Adam Simpson
57d94ed01f
ds-querier: return error if failed to get ds client ( #97698 )
...
* ds-querier: return error if failed to get ds client
* add log line
* no empty ref
* fix test
2024-12-17 10:38:44 -05:00
Ryan McKinley
eb38a63559
K8s/Folder: Show parent folder information ( #97938 )
2024-12-17 16:19:40 +02:00
Leonor Oliveira
62c1735a61
Implement k8s count handler ( #97955 )
...
* Implement k8s count handler
* Fix endpoint
* Fix type converstions
* Add tests for foldercounts
* Add more tests
* Only use sql-fallback if no values in unistore
* Update gomod
* Fix test
* Update pkg/api/folder_test.go
Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com >
* Go.mod
---------
Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com >
2024-12-16 14:08:29 +01:00
Stephanie Hingtgen
8f6e9f8ed0
Restores in app platform ( #97582 )
2024-12-13 16:55:43 -06:00
Leonor Oliveira
f710573b37
Use searcher GetStats to count for folders and dashboards under a folder to be deleted ( #97708 )
...
* get stats from index
* fix logging
* fix logging
* actually counting
* Use searcher to check for resources referencing a folder
* Add tests when deleting a folder
* Lint
* merge/fix test
* will delegate to SQL
* get stats from index
* fix logging
* actually counting
* merge/fix test
* will delegate to SQL
* Uncomment test
* Add tests for checking stats before deleting a folder
* Change base branch to main
* Lint
* [REVIEW] remove logs
* Check for type assertion success
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-12-12 11:53:01 +01:00
Ryan McKinley
ea17b79c09
Search: Return counts for values within an folder/repository ( #97534 )
2024-12-10 20:37:37 +02:00
Stephanie Hingtgen
b05d60e5b5
k8s: dashboards: remove FT ( #97758 )
2024-12-10 12:35:36 -06:00
Yuri Tseretyan
2d386e6704
Alerting: Migrate notification models to generated by grafnaa-app-sdk ( #95430 )
...
* create notifications module and generate models
* switch template group to app models
* switch time intervals to use app models
* switch receiver to use app models
* switch routing tree to use app models
* move schema registration to resource packages
* fix package names to match app
* fix codeowners
* fix UI to use metadata.name instead of uid
* update dockerfile
* move generated models to pkg
* remove provenance from field selector
* move client factories to test files
* rename GenericClient to TypedClient
2024-12-09 10:29:05 -05:00
Ryan McKinley
5f39d2eeb0
K8s: Make GetAPIRoutes an optional interface ( #97531 )
2024-12-07 03:08:18 +03:00
Ryan McKinley
8165258a2d
Storage: Query stats within a namespace ( #97403 )
2024-12-05 13:58:13 +03:00
Ryan McKinley
b7066aa7dc
Chore: K8s registration cleanup ( #97373 )
...
cleanup
2024-12-04 09:10:31 +03:00
maicon
7fd8877439
Unistore: Update Folders Endpoint ( #97317 )
...
* Add route for update folders via apiserver
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-12-03 15:33:01 -03:00
Ryan McKinley
9d89d8757f
Search: Build index from resource stats ( #97320 )
2024-12-03 20:20:27 +03:00
Ryan McKinley
0ea0c35198
Chore: Remove unused GetDesiredDualWriterMode ( #97359 )
...
remove desired function
2024-12-03 17:42:10 +02:00
Karl Persson
3a17d0c927
IAM: align AuthInfo interface ( #97228 )
...
* Update to use updated interface
2024-12-03 15:11:17 +01:00
Ryan McKinley
20a27da636
FeatureFlags: Add helper to check against a set of flags ( #97240 )
2024-12-02 21:41:41 +02:00
Sarah Zinger
4b234c4795
Add logging to legacy datasource look up path ( #97065 )
2024-11-27 14:32:06 -05: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
f6ccf976e5
UnifiedSearch: Use ResourceIndex from dashboards apiserver (v0alpha1 only) ( #96939 )
2024-11-27 07:57:53 +02:00
Karl Persson
3990637af9
IAM: remove duplicated functions ( #96989 )
...
* Remove duplicated function and use the one provided by claims package
2024-11-26 09:22:45 +01:00
Ryan McKinley
94262fd095
Search: expose search on dashboard apiserver (v0alpha1) ( #96907 )
2024-11-22 22:26:56 +02:00
Leonor Oliveira
2a74778776
Support delete endpoint for folders ( #96573 )
...
* Support delete endpoint for folders
* Include authorizer
* Add test for delete verb
* Add delete command to delete options
* Pass query string to context to admission
* Dont support nested folder deletion for now
* Skip test if feature flag is present
* Add test case
* Remove comment
* Only rely on the storage type config to run alerting tests
* Dont change legacy subpath
* Remove unised function
* Add test case when an editor can delete alert rules
* Lint
2024-11-22 16:51:53 +01:00
maicon
bbae396db4
Unistore: Add GetFolders endpoint backed by UnifiedStorage ( #96399 )
...
* Unistore: Add GetFolders endpoint backed by UnifiedStorage
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
2024-11-22 10:38:00 -03:00
Adam Simpson
c010bf2dc7
ds-querier: account for -100 meaning __expr__ ( #96565 )
...
* ds-querier: account for -100 meaning __expr__
* temp debug log error parsing query
* var confusion
* log error
2024-11-20 10:28:31 -05:00
Stephanie Hingtgen
6571451a57
K8s: dashboards: fix conversion ( #96648 )
2024-11-19 05:32:05 -07:00
Todd Treece
66d5c051aa
Dashboards: Add v1alpha1 and v2alpha1 conversion ( #96415 )
...
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2024-11-15 15:49:45 -05:00