Igor Suleymanov and Ryan McKinley
ea89a68028
K8s/Dashboards: Generate Dashboards k8s APIs using Grafana App SDK ( #99966 )
...
* Generate Dashboard kinds with `grafana-app-sdk`
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Hack together a fix for invalid TS codegen for v0 & v1
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Address Go linter issues
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Address TS linter issues
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Add new app to CODEOWNERS
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Fix a couple of issues detected by tests
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Update OpenAPI definitions and test files
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Remove title from Dashboard v1alpha1 spec
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Remove unused CUE schemas
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* remove unrelated files
* allow any in the generated betterer
* Add a comment explaining why we don't use deepcopy-gen
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Default to v2alpha1 if dashboards v2 FF is enabled
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-03-11 13:00:37 +02:00
Ryan McKinley
64f1df69d5
Search: Rename managed object index ( #101856 )
2025-03-10 19:48:53 +03:00
Stephanie Hingtgen
473c0b5e89
K8s: Fix plugin updater ( #101843 )
2025-03-08 02:42:20 +02:00
owensmallwood
827da46c51
Unified Storage: Remove wildcard queries ( #101441 )
...
* WIP adding custom analyzer so we can do substring search efficiently
* Adding unit tests for title search
* formatting
* adds more title search unit tests
* organize helpers
* fixes issue caused by having two title mappings
* Removes camelcase token filter since it prevents you from searching for a substring of chars and numbers. Adds regression test.
* adds back mapping for title_phrase
* use simple analyzer for input query string so it doesn't filter out english stop words
* ran bleve tests, table snapshots updated
* ignore linter for "unused" test functions. They are very helpful for troubleshooting search. Keeping them.
* only log total hits and query cost if result not nil
* fixes failing test - one more field because there are two title mappings now
* fix test
* fixes test - only take first item when its the title
* Adds separate internal field for title ngram mapping.
When searching with a query, results are sorted by score desc.
When searching without a query, results are sorted by title desc.
Adjusts ngram max to be 10.
Text queries are a disjunction of an exact match, phrase match, and a match. Boosted to have priority in that order.
Adds more unit tests for searching.
* linter
* fix test
* ran tests - generated new test dash json
* sort by title phrase instead of title
* fix test - not relying on /apis/dashboard/search to apply title sorting anymore
2025-03-07 09:51:15 -06:00
Jean-Philippe Quéméner
2e0d2f3c76
fix(unified-storage): break dependency from dualwriter in resource module ( #101788 )
2025-03-07 15:27:31 +01:00
Ryan McKinley and Clarity-89
f52b6a5a42
Provisioning: Update spec and dependencies ( #101746 )
...
Co-authored-by: Clarity-89 <homes89@ukr.net >
2025-03-07 10:57:13 +03:00
Sarah Zinger
ab56ac515d
DS-Querier: Hopefully fix and debug cases where query data response is nil ( #101729 )
2025-03-06 15:30:06 -05:00
Karl Persson
6389b801b9
Authz: Pass correct property ( #101674 )
2025-03-06 10:02:04 +01:00
Ryan McKinley and Stephanie Hingtgen
dc2defd84f
K8s/Annotations: Use manager/source annotations rather than repo ( #101313 )
...
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-03-05 08:54:20 +02:00
Stephanie Hingtgen
67221fb328
K8s: Folders: Fix not found errors ( #101585 )
2025-03-05 00:31:41 +02:00
Stephanie Hingtgen
7c35d741ba
Folders: Add validation that folder is not a parent of itself ( #101569 )
2025-03-04 13:56:21 -06:00
Ryan McKinley
c1b48cc488
Dashboards: Add apiVersion to dashboard table ( #100845 )
2025-03-04 07:47:45 +03:00
Sarah Zinger
ed3f96ce28
Fix misleading log line ( #101532 )
2025-03-03 15:52:47 -05:00
Karl Persson
d6b6a9da7b
FolderAPI: Use different authorizer for multi-tenant api ( #101372 )
...
Use different authorizers depening on if we are running multi-tenant or single-tenant
2025-02-28 10:10:32 +01:00
Ryan McKinley
5652e0b835
K8s/Dashboard/SQL: Support ascending order query ( #101363 )
2025-02-28 11:34:09 +03:00
Ryan McKinley
806c043e45
UnifiedStorage: Rename Batch processing to Bulk ( #101413 )
2025-02-28 08:41:08 +03:00
Leonor Oliveira
5e61ec1258
Prevent wrong type conversion ( #101349 )
2025-02-27 15:17:50 +01:00
Ryan McKinley
58457d41d3
K8s/DualWriter: Remove legacy interface ( #101395 )
2025-02-27 13:27:28 +03:00
Karl Persson
fa74d1c36d
Authn: Sync authlib and update how we construct authn client interceptor ( #101124 )
...
* Sync authlib and update how we construct authn client interceptor
* Remove namespace from checker
2025-02-26 09:22:09 +01:00
Ieva
bfabe2ce82
Ks8/Folders: Fix status codes returned on GET ( #101237 )
...
return the correct status code for folder fetching failures
2025-02-25 11:07:27 +00:00
Andres Martinez Gotor
120b277664
Advisor: Cloud fixes ( #101136 )
2025-02-25 11:41:44 +01:00
279b641469
Provisioning: Define large parts of our infrastructure ( #101029 )
...
* Provisioning: Define secrets service
* Provisioning: Create and store secrets service
* Provisioning: Define safepath
* Provisioning: Define the repository
* Identity: Support a provisioning service
* Provisioning: Define a job queue
* Chore: Regen code
* Provisioning: Show progress more often
Co-Authored-By: Ryan McKinley <ryantxu@gmail.com >
* Provisioning: Rename hash field to lastRef
Co-Authored-By: =?UTF-8?q?Roberto=20Jim=C3=A9nez=20S=C3=A1nchez?= <roberto.jimenez@grafana.com >
* Provisioning: Workflows as write access
Co-Authored-By: Ryan McKinley <ryantxu@gmail.com >
* Provisioning: Regen OpenAPI snapshot
* Provisioning: Update tests to match new fields
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: =?UTF-8?q?Roberto=20Jim=C3=A9nez=20S=C3=A1nchez?= <roberto.jimenez@grafana.com >
2025-02-24 09:08:58 +01:00
Todd Treece
9e80b0f913
K8s: Add error to GetRestConfig ( #101147 )
...
K8s: Add error to RestConfigProvider return values
2025-02-21 18:07:13 +02:00
Todd Treece
3992ac2ac1
Dashboard: Multi-version builder ( #100305 )
2025-02-21 06:50:29 -05:00
Carl Bergquist
79c0e5e3ec
scopes: moves scopes to enterprise ( #100746 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2025-02-21 08:51:34 +01:00
Peter Štibraný
b4c4b9abbd
Remove embedded WriteEvent from WrittenEvent struct, to avoid having unnecessary fields. ( #101081 )
2025-02-20 17:34:25 +01:00
Will Assis
74e621f377
fix(unified-storage): "sharedwithme" search in legacy modes returns everything ( #101054 )
...
* fix "sharedwithme" search returning everything when user does not have any shared dashboards
2025-02-20 09:53:06 -05:00
Ryan McKinley
5a40c84568
DualWriter: Support managed DualWriter ( #100881 )
2025-02-19 17:50:39 +03:00
Stephanie Hingtgen
3e6f40c873
K8s: Move to one feature toggle for folders and dashboards ( #100911 )
2025-02-19 01:11:26 +02:00
Stephanie Hingtgen
67be9aeed6
K8s: Search fallback: Support all sort by methods ( #100776 )
2025-02-18 12:30:11 -06:00
Mat Ryer and Sven Grossmann
ff7ba54cbc
Investigations: Add experimental app platform backend ( #100584 )
...
* add investigations group?
* Investigations: Add experimental app platform backend
* change `grafana-app-sdk/logging` version
* investigations: add feature flag to test
---------
Co-authored-by: Sven Grossmann <svennergr@gmail.com >
2025-02-17 19:19:22 +01:00
Andrej Ocenas
78ef9fd9d9
QueryLibrary: rename API from peakq to querylibrary ( #100813 )
2025-02-17 17:49:11 +01:00
Stephanie Hingtgen
9494e6eb37
K8s: Search fallback: Support tag search ( #100767 )
2025-02-14 16:57:10 -05:00
Stephanie Hingtgen
b89fd287c7
K8s: Dashboards: Fix history list ( #100763 )
2025-02-14 22:12:18 +02:00
Carl Bergquist
9cff383830
scopenodes: check if the query exists in the title instead of starts with the query ( #100578 )
...
scopenodes: check if the string contains the search param instead of limiting to prefix
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2025-02-14 09:21:35 -05:00
Carl Bergquist
23a657a72d
scopes: adds more logging details to the scopedashboard query ( #100267 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2025-02-14 09:20:07 -05:00
Peter Štibraný
1856d47e47
Remove GetResourceClient hack from unified package. ( #100636 )
...
* Remove GetResourceClient hack from unified package.
2025-02-14 12:34:52 +01:00
Andrej Ocenas
d092998927
Query Library: Move backend to enterprise ( #100371 )
...
* Move files to enterprise
* Remove last parts of QL api
* Fix CODEOWNERS
2025-02-14 11:05:03 +00:00
Andres Martinez Gotor
12bb50f97f
Advisor: Make evaluation interval and max history configurable ( #100534 )
2025-02-14 10:05:34 +01:00
Will Assis
c963032915
search: handle "sharedwithme" use-case in both legacy/US modes ( #100286 )
...
* handle "sharedwithme" use-case in both legacy/US modes
* display "Shared with me" as location in dashboard list
* fix missing "TotalHits" prop in mode 2
2025-02-13 15:56:29 -05:00
Stephanie Hingtgen
e2081c3e0c
K8s: Fix legacy fallback provisioning ( #100566 )
2025-02-13 21:32:25 +02:00
Will Assis
155492c8a5
search: handle "permission" query param in search ( #100607 )
...
handle "permission" query param in search
2025-02-13 11:35:53 -05:00
Stephanie Hingtgen
df84d928e2
K8s: Folders: Fix legacy search ( #100393 )
2025-02-11 13:14:25 -06:00
Ryan McKinley
a5355fd66c
Storage: Add command line tool to migrate legacy dashboards (and folders) to unified storage ( #99199 )
2025-02-11 19:57:46 +02:00
Alexander Zobnin
5118e82e8c
Zanzana: Run reconciliation in its own service ( #100361 )
...
* Zanzana: Start reconciliation in its own service
* cleanup
* update go workspaces
* refactor
* remove unused code
* move func definition
2025-02-11 14:09:39 +01:00
Ryan McKinley
e3cb73301e
Authz/Schema: Remove unused stub cue definitions ( #100387 )
2025-02-11 15:24:11 +03:00
Gábor Farkas
e4ef71b78e
querier: handle datasource-not-found ( #100175 )
2025-02-11 08:25:27 +01:00
Sarah Zinger
0152f414f0
DS Apiservers: return 404 when receiving a datasource not found error ( #100025 )
...
* DS Apiservers should return a k8s 404 error
* Do not swallow status codes
* Updates from initial CR.
* Add test for ds apiserver to retunr 404 when a datasource is not found
* Didn't intend for a change here
2025-02-10 12:07:51 -05:00
Scott Lepper
378bb6ea3f
[search] folder name lookup performance ( #100154 )
...
[search] use search for folder name lookup
2025-02-07 17:19:23 -05:00
Will Assis
7e11e604c7
[search] fix offset param in finddashboards ( #100302 )
...
* fix offset param in finddashboards
* separate offset from page in k8s search endponit
2025-02-07 13:24:27 -05:00