Ryan McKinley
3254a8d1bd
merge main
2025-01-21 20:29:06 +03:00
Stephanie Hingtgen
2fe510eb6f
Dashboards: set max length of message to 500 ( #99229 )
2025-01-21 08:50:24 -06:00
Roberto Jimenez Sanchez
5f34f0aa14
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2025-01-21 13:58:25 +01:00
Ryan McKinley
0f023e7039
FeatureToggles: remove panelTitleSearchInV1 ( #99292 )
...
remove panelTitleSearchInV1
2025-01-21 12:59:32 +03:00
Ryan McKinley
680e6bc1f8
Authlib: Use types package rather than claims ( #99243 )
2025-01-21 12:06:55 +03:00
Mariell Hoversholm
f66c9901a1
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2025-01-21 08:15:28 +01:00
owensmallwood and Bruno Abrantes
c45aff1251
Unified Storage: Permissions can filter search results ( #99042 )
...
* fix bug when parsing results in search handler
* applies permissions filtering to bleve query
* formatting
* wraps in check for access being present, adds some comments
* update go mod
* fix tests
* add dep owner
* fix go mod
* add space after //
* clean up returns
Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com >
* fixed formatting
* Uses single checker since index is for single resource. Passes folderId using dvReader to checker func. Adds debug logging.
* handles federation with index permission checkers
* formatting
* move import
---------
Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com >
2025-01-20 14:30:09 -06:00
Mariell Hoversholm
d313024e41
chore: remove unnecessary auth workaround
2025-01-20 16:30:03 +01:00
Mariell Hoversholm
48c53f9228
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2025-01-20 16:28:59 +01:00
Karl Persson
7329d2c34b
Authz: Account for fixed roles when running oss and using authz service ( #99244 )
...
* Extract "PermissionStore" from general store interface
* Add static and union permission stores
* Add GetStaticRoles
* Use accesscontrol.Service for inproc to provide static permissions
2025-01-20 16:00:36 +01:00
Sonia Aguilar
80b8dd3fc8
Alerting: Set alert form simple modes enabled by default ( #99233 )
...
set alert form simple modes enabled by default
2025-01-20 14:55:34 +02:00
Ivan Ortega Alba and Haris Rozajac
95d4f83889
DashboardSchema: Add library panel to v2 ( #98484 )
...
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
2025-01-20 12:44:36 +01:00
Misi
f96a2082d0
Auth: Allow self serve for improved external session handling feature toggles ( #99245 )
...
Auth: Allow self serve for improved external session handling
2025-01-20 12:33:37 +01:00
Alexander Akhmetov
651430e34a
Alerting: Add sync state persister to save entire state of the rule ( #96628 )
2025-01-20 12:12:27 +01:00
Andres Martinez Gotor
c1364d6be6
New feature flag grafanaAdvisor ( #99235 )
2025-01-20 11:08:00 +01:00
Mariell Hoversholm
786325d091
security: disable auth when provisioning is enabled
2025-01-20 10:03:19 +01:00
Mariell Hoversholm
40c1b3a7a9
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2025-01-20 09:55:31 +01:00
Stephanie Hingtgen
1a2a284972
K8s: Dashboards: Set message as annotation ( #99230 )
2025-01-20 08:40:23 +03:00
Stephanie Hingtgen
b309c5daed
K8s: Refactor client to be generic ( #99231 )
2025-01-19 16:53:53 -06:00
Stephanie Hingtgen
e33936398c
Public dashboards: return full list when more than 1000 ( #99216 )
2025-01-17 23:16:30 +02:00
Matthew Jacobson
a6dffd7552
Upgrade grafana/alerting to 209e052dba64 ( #99118 )
...
Update grafana/alerting to 209e052dba64
Includes:
- Add NoopDecode function for non-base64-encoded secrets (#264 )
- Log duplicated receivers (#265 )
2025-01-17 21:53:41 +02:00
Stephanie Hingtgen
fb3a858726
Revert "Remove dependency on dashboards table to get library element and library element connection" ( #99213 )
...
Revert "Remove dependency on dashboards table to get library element and libr…"
This reverts commit 32790c6918 .
2025-01-17 21:43:14 +02:00
Arati R.
2bce8c5e29
Folders: Use folder UID instead of folder ID in query for getting library elements ( #99028 )
2025-01-17 16:04:11 +01:00
Karl Persson
67252dfa46
Zanzana: Add grpc health and readiness checks for standalone zanzana ( #99176 )
...
Add grpc health and readiness checks for standalone zanzana
2025-01-17 13:39:42 +01:00
Arati R. and kay delaney
a0d1a197e3
Folders: Use folder UID when deleting library elements in folder ( #98967 )
...
* Refactor deleteLibraryElementsInFolderUID to use folder UID only
* Convert dashboard error to folder one when deleting library elements
* Fix incorrectly set folder UID in nested folder test
---------
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com >
2025-01-17 12:04:02 +01:00
Alexander Zobnin
c5f14407cc
Zanzana: Refactor stores listing ( #99098 )
...
Zanzana: Refactor store loading
2025-01-17 11:10:22 +01:00
Mariell Hoversholm
f06b5a5933
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2025-01-17 10:26:39 +01:00
Stephanie Hingtgen
e019e34eb5
Stats: use dashboard stats rather than list ( #99130 )
2025-01-17 08:19:56 +03:00
Stephanie Hingtgen
5a930e0ec6
K8s search: add legacy id to dashboard response ( #99132 )
2025-01-17 08:16:48 +03:00
ismail simsek
e96b5a68c4
Prometheus: Support utf8 metrics and labels in scopes ( #99015 )
...
* support utf8 in scopes
* separate the utf8 tests
* remove redundant test after enabling utf8 validation in prometheus
2025-01-16 18:11:44 +02:00
Ryan McKinley
28a34ddba3
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2025-01-16 15:54:55 +03:00
Karl Persson
2187a66f2b
Zanzana: Split up settings into client and server sections ( #99066 )
...
* Split up zanzana settings into client and server sections
* Update workspace
2025-01-16 13:39:39 +01:00
Ryan McKinley
0bef58898e
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2025-01-16 11:12:20 +03:00
Yuri Tseretyan
d025523a8b
Alerting: Log reason for taking image. ( #99036 )
2025-01-15 16:11:38 -05:00
Ryan McKinley
cd46f1ddb9
Search: Remove history query ( #99026 )
2025-01-15 12:49:47 -06:00
Adam Yeats and Isabella Siu
bab55a4cb8
Elasticsearch: Process ES multisearch JSON response by streaming ( #93689 )
...
Co-authored-by: Isabella Siu <isabella.siu@grafana.com >
2025-01-15 12:05:54 -05:00
Matthew Jacobson
fc90a446c6
Alerting: Ensure long-lived repeat alerts keep images after 24h expiry ( #98993 )
...
Ensures we retake images after expiration on long-lived repeat alerts.
Otherwise, logs would show "Image not found in database" and notifications
would cease to contain an image after 24h of continuous firing.
2025-01-15 11:45:43 -05:00
Gabriel MABILLE
b6fc695598
ExtJwtClient: Use user namespace for k8s allowed namespace ( #93687 )
...
* ExtJwtClient: Use user namespace for k8s allowed namespace
* fix test
2025-01-15 17:38:46 +01:00
Ryan McKinley
f7639f4520
merge main
2025-01-15 19:38:09 +03:00
owensmallwood
d00592ffa0
Unified Storage: Make all dashboard fields searchable ( #98899 )
...
* wip. adding sprinkles fields.
* some refactoring. Works with sprinkles now.
* exclude top level dashboard hit fields from hit "fields"
* adds unit test for DecodeCell helper
* test can search for specific dashboard fields on bleve index
* adds search handler tests for the fields and tests for fields when transforming the search req to a bleve search req
* fix panic when calling fields.Set() with int32
* adds regression test
* remove unneeded method on test mock client
* fix linter issues
* updates dashboard test data for bleve tests
* remove DASHBOARD_LEGACY_ID from bleve_tests
* dont cast twice
* updates test to sort by dashboard_views_last_1_days
* declare excludedFields outside of function
* fixes sorting by dashboard fields - prepends "fields." to any dashboard fields we try to sort by
* uses map for excludedFields
* expects fields to be array-style url param
* change method name
* fixes failing tests - needed to add column type to mocks
2025-01-15 10:23:05 -06:00
William Wernert
8415089534
Alerting: Use correct status code for UID conflict in contact point provisionining API ( #98970 )
...
Use correct status code for UID conflict in contact point provisioning API
2025-01-15 11:07:56 -05:00
beejeebus
a290db6a7e
Ensure we delete playlists when deleting an org, fixes #98736 ( #98771 )
2025-01-15 08:13:56 -06:00
ismail simsek
79fc26ea87
Chore: Remove prometheus replace directive ( #98966 )
...
* remove replace directive
* have an adapter
* go mod tidy
* make update-workspace
* make update-workspace
2025-01-15 14:04:14 +01:00
Santiago
ea6cb8f139
Alerting: Panic when rule being evaluated has unexpected key ( #99002 )
2025-01-15 14:59:50 +02:00
5aeaccadff
Alerting: Add read-only GMA rules to the new list view ( #98116 )
...
* Reuse prom groups generator between GMA, external DS and list view
* Improve generators, add initial support for GMA in grouped view components
* Improve handling of GMA rules
* Split componentes into files
* Improve error handling, simplify groups grouping
* Extract grafana rules component
* Reset yarn.lock
* Reset yarn.lock 2
* Update filters, adjust file names, add folder display name to GMA rules
* Re-enable filtering for cloud rules
* Rename AlertRuleLoader
* Add missing translations, fix lint errors
* Remove unused imports, update translations
* Fix responses in BE tests
* Update backend tests
* Update integration test
* Tidy up group page size constants
* Add error throwing to getGroups endpoint to prevent grafana usage
* Refactor FilterView to remove exhaustive check
* Refactor common props for grafana rule rendering
* Unify identifiers' discriminators, add comments, minor refactor
* Update translations
* Remove unnecessary prev page condition, add a few explanations
---------
Co-authored-by: fayzal-g <fayzal.ghantiwala@grafana.com >
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2025-01-15 11:36:32 +01:00
Leonor Oliveira
32790c6918
Remove dependency on dashboards table to get library element and library element connection ( #98941 )
...
* Remove dependency on dashboards table to get library element
* WIP
* Don't use dashboard id when getting library connections
* Lint
* Don;t include folder_uid in library element
2025-01-15 10:32:24 +01:00
Karl Persson
3f71a72c1a
Authz: Remove "wrapper" interface and only check feature toggle for grpc mode ( #98933 )
...
* Remove "wrapper" interface and only check feature toggle for grpc and cloud mode
* Only set name for update checks
* Set dashboard permissions for admin user
2025-01-15 09:23:56 +01:00
Ryan McKinley
62373145b8
merge main
2025-01-15 08:59:18 +03:00
Stephanie Hingtgen
2a08c9ed82
K8s Dashboards: Fix creating a dashboard inside a folder ( #98982 )
2025-01-15 07:15:58 +02:00
Stephanie Hingtgen
dbfc412ed8
K8s: Fix dashboard search ( #98989 )
2025-01-14 18:45:27 -05:00