Todd Treece
f3b545a903
K8s: Add cluster scope support in app runner ( #106914 )
2025-06-18 13:15:32 -04:00
mohammad-hamid
936dd05eac
ext jwt client: map k8s-style to rbac permissions ( #106279 )
...
* initial commit
* Proposal
Co-Authored-By: mohammad-hamid <mohammad.hamid@grafana.com >
* extend k8s-style mapper
- add tests
* address comments
* cleanup
* address comments
---------
Co-authored-by: Gabriel Mabille <gabriel.mabille@grafana.com >
2025-06-18 11:51:35 -04:00
Ivana Huckova
67f50478d9
Loki: Refactor getting of panel/dashboard title headers as part of decoupling ( #106829 )
...
* Loki: Refactor getting of panel/dashboard title headers as part of decoupling
* Add headers to be passed to api server
* Address review comments
2025-06-18 17:41:31 +02:00
Will Browne
05b458741e
DataSources: Add mutex to provisioning step ( #106921 )
...
add mutex to ds provisioning
2025-06-18 16:34:40 +01:00
Alexander Akhmetov
4b46da9214
Alerting: Hide extra Prometheus configuration secrets ( #106916 )
2025-06-18 17:01:19 +02:00
Andreas Christou
629bd11c07
Azure: Fix legend formatting ( #106504 )
...
Fix inconsistent casing in resource URIs
2025-06-18 09:36:20 -05:00
Alexander Akhmetov
426c334973
Alerting: API to create extra Alertmanager configurations ( #106904 )
...
What is this feature?
Implements the POST endpoint for deleting imported Mimir Alertmanager configurations:
POST /api/convert/api/v1/alerts
The API endpoint creates the extra Alertmanager configuration with the provided identifier and matchers.
2025-06-18 15:05:06 +02:00
Joey
ecf793ea05
Tempo: Fix TraceQL Search escaping regex queries ( #106693 )
...
* Fix for TraceQL Search incorrectly escaping regex queries
* Update test
* Keep existing filter values when adding custom
2025-06-18 12:21:45 +01:00
Alexander Zobnin
0270152e35
Zanzana: Improve server side tracing ( #106804 )
2025-06-18 12:53:39 +02:00
Alexander Akhmetov
def5d889d0
Alerting: API to delete extra Alertmanager configurations ( #106892 )
2025-06-18 12:37:56 +02:00
Alexander Akhmetov
8c6df8b449
Alerting: Add support for retrieving imported Prometheus Alertmanager configurations ( #106864 )
2025-06-18 10:49:40 +02:00
Gabriel MABILLE
56c9dbf6e5
AuthZ: Add a feature toggle for the k8s apis ( #106795 )
2025-06-18 09:43:01 +02:00
Ryan McKinley
945bc53b4c
DualWrite: Manage values from KV store (not file) ( #106772 )
2025-06-18 10:37:44 +03:00
Roberto Jiménez Sánchez
3cb62e370b
Provisioning: Add pure git repository type ( #106815 )
...
* Add repository type git to spec
* Register git type
* Update test checks
2025-06-18 09:05:37 +02:00
Alexander Akhmetov
78bec77ca1
Alerting: Fix NewDatasourceWriter initialization ( #106869 )
...
Fix NewDatasourceWriter initialization
2025-06-18 07:53:48 +02:00
Alexander Akhmetov
ad683f83ff
Alerting: Add state history backend to write ALERTS metric ( #104361 )
...
**What is this feature?**
This PR implements a new Prometheus historian backend that allows Grafana alerting to write alert state history as Prometheus-compatible `ALERTS` metrics to remote Prometheus-compatible data sources.
The metric includes a few additional labels:
* `grafana_alertstate`: Grafana's full alert state, more granular than Prometheus.
* `grafana_rule_uid`: Grafana's alert rule UID.
Grafana states are included in the `grafana_alertstate` label also mapped to Prometheus-compatible `alertstate` values:
| Grafana alert state | `alertstate` | `grafana_alertstate` |
|---------------------|-----------------------|-----------------------|
| `Alerting` | `firing` | `alerting` |
| `Recovering` | `firing` | `recovering` |
| `Pending` | `pending` | `pending` |
| `Error` | `firing` | `error` |
| `NoData` | `firing` | `nodata` |
| `Normal` | _(no metric emitted)_ | _(no metric emitted)_ |
2025-06-18 07:17:57 +02:00
Alexander Akhmetov
5a78ce8a4b
Alerting: Support saving extra Mimir configurations ( #106721 )
2025-06-17 23:33:16 +02:00
Moustafa Baiou
74e800e427
Alerting: Add provenance to Prometheus API ( #106596 )
...
This commit adds provenance information to the Prometheus API in the ngalert service to enable compatibility with the new alert list page.
2025-06-17 23:31:42 +02:00
Alexander Akhmetov
f6e330b3d7
Alerting: Allow disabling recording rules write for a data source in the UI ( #106664 )
...
Adds a new "Allow as recording rules target" toggle to Prometheus datasource configuration that controls whether the datasource can be selected as a target for writing recording rules.
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
Co-authored-by: Konrad Lalik <konradlalik@gmail.com >
2025-06-17 22:55:45 +02:00
Roberto Jiménez Sánchez
689cafc1fa
App Platform Provisioning: Add experimental nanogit mode for Git Sync ( #106763 )
...
* Add nanogit package
* Add nanoGit feature flag
* Put logger into nanogit context
* Commit go mod and go sum updates
* Add more stuff around logging
* Nanogit also in extra one
* Add owner to dependency
2025-06-17 19:07:30 +02:00
Moustafa Baiou
0e6c7f84c3
Alerting: Add filters for health and contact point in Prometheus Rules api ( #106580 )
...
This adds the ability to filter rules with the prometheus compatible api using:
1. `receiver_name` to filter by contact point name
2. `health` to filter by the health status of the rule (one of `ok`, `error`, `nodata`, or `unknown`)
This also ensures that groups with no rules (due to filters) are not returned.
2025-06-17 16:57:03 +02:00
Mustafa Sencer Özcan
b48337a7c8
feat: introduce ttl cache for bleve indices ( #106842 )
2025-06-17 16:28:51 +02:00
kay delaney
2aae202f92
Library Panels: Mark library panel RBAC as GA & enable by default ( #106833 )
2025-06-17 14:50:34 +01:00
Kyle Brandt
8b6329a224
SQL Expressions: Fixes for Prometheus Metric Instrumentation ( #106722 )
...
* capture errors on metrics
* rename seconds to sql_command_duration_milliseconds to match unit that has been captured, and update buckets
* rename sql_command_errors_total to sql_command_count
2025-06-17 09:23:56 -04:00
Oscar Kilhed
e90134bb6f
Dashboards: Prefer the library panel title instead of panel title set in the dashboard. ( #106810 )
...
* prefer library panel title
* Add .
* add tests
2025-06-17 13:21:21 +02:00
Andres Martinez Gotor
a125c17e79
Update grafanaAdvisor FF stage to private preview ( #106819 )
2025-06-17 12:50:00 +02:00
Alexander Akhmetov
e92baba748
Alerting: Support PDC in Grafana-managed recording rules ( #106677 )
2025-06-17 11:46:34 +02:00
Eric Leijonmarck
25fe2b54fb
LBAC for data sources: Enable teamHttpHeadersMimir by default ( #106636 )
...
feat: enable mimir lbac by default
2025-06-17 09:19:02 +01:00
Kevin Minehart
8b370bb6a5
CI: Build pre-release artifacts in GhA on merge to release branches and main. ( #106779 )
...
* Add grafana-build action and workflow
* Fix the --verify flag stalling on tar.gz builds
* Add event sources for main / release branches
* Update CODEOWNERS
2025-06-16 22:54:50 +02:00
Luminessa Starlight
09e8484bac
i18n: rename locale to regionalFormat ( #106585 )
...
* locale -> regionalFormat, mirroring #102233
* set up regionalFormat to replace locale entirely
* replace locale with regionalFormat
* update reportInteraction arguments
2025-06-16 21:53:55 +02:00
Matt Cowley
fc97b0e6b4
Home: restrict Getting Started Guide link to admins ( #106742 )
2025-06-16 14:56:52 -04:00
Ryan McKinley
d02b62e874
Chore: Update app-sdk to v39 ( #106785 )
2025-06-16 19:11:30 +02:00
Matheus Macabu
db845ed8de
CloudMigrations: Add Mute Timings as dependency for Notification Policies ( #106751 )
2025-06-16 18:08:18 +02:00
Juan Cabanas
c481c979f9
Reporting: Change FF to public preview ( #106748 )
2025-06-16 17:28:17 +02:00
Matheus Macabu
8d27f12428
Dependencies: Fix enterprise imports ( #106764 )
2025-06-16 16:50:19 +02:00
Ivan Ortega Alba
59c2f15433
Dashboard V0->V1 Migration: Schema migration v36 ( #100757 )
...
---------
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-06-16 15:53:41 +02:00
Ivana Huckova
6767adb4a6
Loki: Implement error source ( #106766 )
...
* Loki: Implement error source
* Add tests
2025-06-16 15:52:35 +02:00
Dana Axinte
dbe815ee68
SecretsManager: keepers with secure values credentials ( #106761 )
...
* SecretsManager: keepers with secure values
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
* Keepers: Refactor extract secure values remove extra helper functions
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-06-16 14:37:36 +01:00
Gábor Farkas
5d54289509
datasources: querier: more robust error handling, and report no errors for single-tenant ( #106288 )
...
* datasources: querier: more robust error handling, and report no error for st
* do not leak error details out
* apply the change to the real file, not just to the test
2025-06-16 14:12:37 +02:00
Roberto Jiménez Sánchez
0ae635974e
App Platform Provisioning: Fix flaky test to assert dashboards deletion on repository deletion ( #106753 )
...
Use assert instead of require within eventually
2025-06-16 11:46:09 +02:00
Dana Axinte
6097841e67
SecretsManager: add secure value store ( #106708 )
...
* SecretsManager: add secure value model and sql templates
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
* SecretsManager: secure value rest layer to use store
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
* SecretsManager: temporary add actor prefix to decrypters
* Remove list securevalue by namefor now
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
2025-06-16 10:19:44 +01:00
maicon
fcb369e9a3
Unistore/datamigration: Take namespace from command line flag ( #106724 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-06-15 19:45:42 +00:00
Stephanie Hingtgen
feeced9618
K8s: Dashboards /apis: Fix library element connections ( #106734 )
2025-06-13 21:40:39 +02:00
Stephanie Hingtgen
a8886ad5ec
Annotations: Use dashboard uids instead of dashboard ids ( #106676 )
2025-06-13 13:59:24 -05:00
Ida Štambuk
08f274ba73
Features: Remove xrayApplicationSignals feature toggle ( #106547 )
...
Features: Remove xrayApplicationSignals toggle
2025-06-13 20:26:14 +02:00
Santiago
3fe73b8de9
Remote Alertmanager: Send SMTP config ( #106337 )
...
* (WIP) Remote Alertmanager: Send SMTP config
* send SMTP configs separately
* bring back deleted fields
* actually send stuff over
* remove redundant type, fix comments
* smtp -> smtpConfig
* also send SmtpFrom an StaticHeaders separately
* tests
* restore defaults.ini
2025-06-13 12:44:39 -03:00
Tania
1500fa5772
Extend OpenFeature service ( #106707 )
2025-06-13 17:30:53 +02:00
Yuri Tseretyan
b0ff51a903
Alerting: Support for Mimir configuration in Grafana Alertmanager ( #106402 )
2025-06-13 16:32:23 +02:00
Jean-Philippe Quéméner
5f21f320f7
fix(unified-storage): use continue token containing both formats for dualwriter ( #106525 )
2025-06-13 15:59:46 +02:00
Kevin Minehart
910eb1dd9e
Security: apply patch 428 ( #106710 )
...
* declare dingding url as secret
patch raw settings before parsing because DingDing's config parser does not know about secrets
* fix integration test
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-06-13 15:56:26 +02:00