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
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
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.
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
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
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
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
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
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
Konrad Lalik
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
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
Yuri Tseretyan
e15fc984c3
Alerting: Deprecate Alertmanager config and receivers APIs ( #98918 )
2025-01-14 17:22:01 -05:00
Scott Lepper
3b8477dcda
Search: fix uid/name filter ( #98981 )
...
[search] fix uid/name filter
2025-01-14 15:48:14 -05:00
Karl Persson
ce0d986673
Zanzana: Use cache for both streamed and non-stream version of list objects ( #98882 )
...
* Add prefix constants and use string builders / string concatinations
* Use cache for both streamed and non-stream versions of list objects
* Remove unused constants
2025-01-14 16:00:59 +01:00
Leonor Oliveira
7c87ff1b84
Folders: Use folder service to count library panels ( #98802 )
...
* Use folder service to count library panels
---------
Co-authored-by: suntala <arati.rana@grafana.com >
2025-01-14 14:58:36 +01:00
Will Browne
70fb7b9545
Plugins: Remove bundled plugins feature ( #96490 )
...
* remove bundled plugins
* Add echo to command
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
* remove folder entirely
* remove folder from CODEOWNERS
---------
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
2025-01-14 12:04:01 +00:00
Ashley Harrison
740cd22fe5
Query Library: Add feature toggle for query library in dashboards ( #98938 )
...
add feature toggle for query library in dashboards
2025-01-14 11:01:15 +00:00
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
Giuseppe Guerra
7480c9eb54
Plugins: Disable SRI checks for filesystem plugins ( #98673 )
...
* Plugins: Disable SRI checks for filesystem plugins
* Plugins: Disable SRI checks for filesystem plugins
* Update tests
* Lint
* Check for cdn enabled rather than just plugin class
* ops
* Update tests
* lint
2025-01-14 09:51:01 +01:00
Gabriel MABILLE
4c86de2678
Chore: Update authlib ( #98870 )
...
* Chore: Update authlib
* AccessChecker -> AccessClient
2025-01-14 09:42:17 +01:00
Ieva
9b34a56d7c
AuthZ service: Take action sets into account when checking folder create permissions ( #98751 )
...
take action sets into account when checking folder create permissions
2025-01-14 08:33:42 +00:00
Matthew Jacobson
6883a4b294
Alerting: Regenerate swagger spec ( #98914 )
2025-01-14 01:23:45 +02: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
Nathan Marrs
009d7f42b3
Feature Toggles: Add two test feature toggles to test potential AB test setup ( #98844 )
...
* add two dummy feature toggles to use for testing potential AB testing setup
* update betterer
* update auto generated files
* fix camelcase test case
2025-01-13 13:13:13 -08:00
Gabriel MABILLE
4d699d4810
AuthZ: Use M3 AuthZ Service ( #98621 )
...
* AuthZ: Use M3 AuthZ Service
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com >
* Fix oss
* fake auth info
---------
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com >
2025-01-13 16:03:14 +01:00
Stephanie Hingtgen
9ec10be1c7
K8s: Provisioned dashboard support ( #98843 )
2025-01-13 08:14:12 -06:00
Karl Persson
0f9b107201
Zanzana: Consistently add context ( #98862 )
...
* Zanzana: Reworks how contextuals are loaded
* Cleanup listObjectWithStream
* Run list test with streaming enabled
2025-01-13 12:11:51 +01:00