Yuri Tseretyan
ac41c19350
Alerting: Rule version history API ( #99041 )
...
* implement store method to read rule versions
* implement request handler
* declare a new endpoint
* fix fake to return correct response
* add tests
* add integration tests
* rename history to versions
* apply diff from swagger CI step
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-02-03 13:26:18 -05:00
Yuri Tseretyan
807f94b2c7
Alerting: Remove feature toggle alertingNoNormalState ( #99905 )
2025-02-03 17:32:50 +02:00
Eric Leijonmarck
62aaec14b6
LBAC for datasources: Enabled by default - expression "true" ( #99971 )
...
* add expression "true"
* update gen json
2025-02-03 14:46:34 +00:00
Alexander Akhmetov
d6c1e3bb45
Alerting: Use org store to read organization IDs ( #99938 )
2025-02-03 15:38:16 +01:00
Ida Štambuk
34b2cb5e02
Features: Remove openSearchBackendFlowEnabled feature toggle ( #99068 )
2025-02-03 14:24:49 +01:00
Karl Persson
c85a175212
RBAC: only query folder service when fetching parent folders ( #99893 )
...
* only query folder service when fetching parent folders
* Perform validation and inehrited scopes solvers as service instead of caller
2025-02-03 13:56:25 +01:00
Ryan McKinley
b636b81b16
K8s/IAM: Use raw handler for display (not rest.Connector) ( #99898 )
2025-02-03 14:24:35 +03:00
Karl Persson
d16374d339
Authz: For list collect all folder permisions into items ( #99955 )
...
* For list collect all folder permisions into items
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2025-02-03 12:14:28 +01:00
Ryan McKinley
8c0b812874
Provisioning: Expose dashboard config within grafana ( #99947 )
2025-02-03 11:44:34 +02:00
Alexander Akhmetov
f45265b5f7
Alerting: Read from both proto and simple DB instance stores on startup ( #99855 )
2025-01-31 23:34:00 +01:00
Yuri Tseretyan
0be6e1bb86
Alerting: Extra dedup stage in Grafana Alertmanager ( #99825 )
...
* add feature flags
* update alerting module
* update grafana alertmanager to configure the extra dedup stage
---------
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
2025-01-31 11:12:38 -05:00
Santiago
39f212a965
Alerting: Call RLock() before reading sendAlertsTo map ( #99812 )
...
* Alerting: Call RLock() before reading sendAlertsTo map
* defer unlocking
* drive-tru fix for another lock
* less time holding the lock in SyncAndApplyConfigFromDatabase
2025-01-31 12:43:02 +01:00
Tobias Skarhed
7190bfb0ca
DashboardVariables: Use Combobox behind feature flag ( #98261 )
...
* Add feature toggle
* Use feature toggle
* Remove usage of renderWithCombobox
2025-01-31 11:53:13 +02:00
Alexander Zobnin
a95005eab5
Zanzana: Disable broken OpenFGA health check ( #99818 )
...
* Zanzana: Disable broken OpenFGA health check
* simplify return
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2025-01-30 17:42:48 +01:00
Andres Martinez Gotor
a066659e11
Frontend Sandbox: Add to statscollector ( #99735 )
2025-01-30 16:17:36 +01:00
Ben Sully
408e3e91a8
Live: make maximum WebSocket message size configurable ( #99770 )
...
Co-authored-by: Chris Marchbanks <chris.marchbanks@grafana.com >
2025-01-30 10:24:29 +00:00
Ryan McKinley
9d5af95565
K8s/OpenAPI: Remove /watch/ from the openapi spec ( #99793 )
2025-01-30 12:51:55 +03:00
Stephanie Hingtgen
4b0f8d8363
K8s: Fix search when query is set ( #99787 )
2025-01-30 03:42:06 +02:00
Stephanie Hingtgen
2d491a9367
K8s: Implement folder search ( #99781 )
2025-01-29 17:44:42 -06:00
Yuri Tseretyan
7007342704
Alerting: k8s receivers api encrypt existing unencrypted secureFields on update ( #99784 )
...
* apply security patch: v11.5.x/305-202501232115.patch
commit 874ce8d12caad3742857ca86d2da7d5f81f3f825
Author: Matt Jacobson <matthew.jacobson@grafana.com >
Date: Thu Jan 23 16:14:28 2025 -0500
linting
commit c4b6d9194cc8b79e252e562a27a2d09a42d7a5e8
Author: Matt Jacobson <matthew.jacobson@grafana.com >
Date: Thu Jan 23 14:56:35 2025 -0500
CVE-2024-11741 - victorops url
2025-01-30 00:48:26 +02:00
Scott Lepper
8e9e3b8362
[search] title phrase ( #99753 )
...
[search] rename title_sort to title_phrase
2025-01-29 17:31:59 -05:00
Garret Wyman
cf177776bf
Alerting: Adding color option for slack receiver ( #99615 )
2025-01-30 00:12:16 +02:00
Moustafa Baiou
b820fd6bef
Alerting: Fix Alertmanager configuration updates ( #99610 )
...
* Alerting: Fix Alertmanager configuration updates
Alertmanager configuration updates would behave inconsistently when performing no-op updates with `mysql` as the store.
In particular this bug manifested as a failure to reload the provisioned alertmanager configuration components with no changes to the configuration itself. This would result in a 500 error with mysql store only.
The core issue is that we were relying on the number of rows affected by the update query to determine if the configuration was found in the db or not.
While this behavior works for certain sql dialects, mysql does not return the number of rows matched by the update query but rather the number of rows actually updated.
Also discovered and fixed the mismatched `xorm` tag for the `CreatedAt` field to match the actual column name in the db.
References: https://dev.mysql.com/doc/refman/8.4/en/update.html
2025-01-29 23:00:45 +02:00
Santiago
7d4895c3c9
Alerting: Use exponential backoff in the remote Alertmanager readiness check ( #99756 )
...
* Alerting: Use exponential backoff in the remote Alertmanager readiness check
* fix capitalized error
* remove unnecessary 'for'
* refactor, use time.After() instead of channel
2025-01-29 18:53:30 +01:00
Scott Lepper
07601bee6f
[search] title search wildcard ( #99769 )
2025-01-29 10:48:19 -06:00
Jean-Philippe Quéméner
90c18099a5
fix(unified-storage): return folder title in legacy search ( #99762 )
2025-01-29 16:38:25 +01:00
Jean-Philippe Quéméner
1087ed623f
feat(unified-storage): fetch full path if needed ( #99747 )
2025-01-29 14:50:49 +01:00
Fayzal Ghantiwala
1444051b65
Alerting: Feature flag to fetch rules by passing down RBAC namespaces ( #99738 )
...
New feature flag
2025-01-29 12:17:44 +00:00
maicon
20f02ec12f
Unistore: refactor provisioning to work with folder service ( #99473 )
2025-01-29 05:19:38 +02:00
Stephanie Hingtgen
6ba18d05be
Folders: fix deletion logic that relies on the dashboard store ( #99715 )
2025-01-29 00:06:53 +02:00
Stephanie Hingtgen
d7070d11f6
k8s: Dashboard history: Fix created by ( #99714 )
2025-01-28 18:53:12 -03:00
Stephanie Hingtgen
b4b49fc587
K8s: Dashboards: use title sort field instead ( #99712 )
2025-01-28 23:24:55 +02:00
Alexander Akhmetov
a0bf9202f5
Alerting: Clear the state cache when the alert routine stops ( #99681 )
2025-01-28 21:15:19 +02:00
Stephanie Hingtgen
516bd0fd1c
K8s: Folders: Fix get command ( #99690 )
2025-01-28 13:00:57 -06:00
Arati R.
94a844977e
Folders/K8s: Fix createdBy and updatedBy fields in response ( #99569 )
2025-01-28 10:46:07 -06:00
Stephanie Hingtgen
0cef2b9ae7
Dashboard Versions: Make compatible with app platform ( #99327 )
2025-01-28 08:17:52 -06:00
Ivana Huckova
058d3946b7
Zipkin: Remove frontend query running code ( #99557 )
...
* Zipkin: Remove frontend query running code
* Fix lint
2025-01-28 15:11:10 +01:00
Fayzal Ghantiwala
f8e7e9e024
Alerting: Make pagination token empty if an invalid token is passed ( #99644 )
...
Reset token to empty if invalid
2025-01-28 11:54:11 +00:00
Alexander Akhmetov
a28328d764
Alerting: Call the deletion reason provider even if the rule is no longer scheduled ( #99571 )
...
Alerting: Call the deletion reason provider even if the rule is not scheduled anymore
2025-01-28 11:34:26 +01:00
Stephanie Hingtgen
959a942b5c
K8s: Dashboards: fix in folder count ( #99622 )
2025-01-28 10:28:12 +01:00
Stephanie Hingtgen
61c5b4a25e
Library elements: remove usage of dashboard table on get ( #99619 )
2025-01-27 17:39:18 -06:00
Stephanie Hingtgen
078ce6a289
Library elements: Delete orphaned connections with the dashboard service ( #99612 )
2025-01-27 22:37:38 +02:00
Moustafa Baiou
82f457495a
Alerting: Correctly escape provisioning API exports ( #99039 )
...
When exporting contact-points, mute-timings, and notification policies in the provisioning API, we need to escape the `$` character which is used in interpolation by file provisioning.
Follow up to #97985
2025-01-27 14:59:50 -05:00
Yuri Tseretyan
d71904cb27
Alerting: Expose updated_by in rules GET APIs ( #99525 )
...
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-01-27 14:31:40 -05:00
Stephanie Hingtgen
7ebe599389
Library elements: do not error if dashboard is not found ( #99608 )
2025-01-27 20:35:30 +02:00
William Assis
be8396cafa
Setup legacy search based on mode ( #98908 )
2025-01-27 12:32:07 -06:00
Alexander Akhmetov
cb43f4b696
Alerting: Add compressed protobuf-based alert state storage ( #99193 )
2025-01-27 18:47:33 +01:00
Ryan McKinley
a5c14db051
Folders: Convert between unstructured and legacy ( #99504 )
2025-01-27 17:37:28 +01:00
Fayzal Ghantiwala
848ef72100
Alerting: Check if pagination token is greater than or equal to ( #99576 )
...
Use goe for token comparison
2025-01-27 15:56:06 +00:00
Andres Martinez Gotor
b0e74cf737
Grafana Advisor: Plugin checks ( #99502 )
2025-01-27 16:39:46 +01:00