Gilles De Mey
13406336ce
Alerting: Update error message for failed FetchError ( #106846 )
2025-06-18 15:51:25 +02:00
Mariell Hoversholm
24192745b6
Actions: set -euo pipefail on multi-cmd runs ( #106906 )
2025-06-18 15:50:30 +02:00
Oscar Kilhed
afee9e47f2
Dashboards: undo redo move tab ( #106786 )
...
* move tab
Fixed issue
* make i18
* always select the tab after moving it, select it after undo too
2025-06-18 15:48:40 +02:00
Alex Khomenko
8893b9a6eb
Restore dashboards: Use k8s API ( #105823 )
...
* Add dashboardRestore toggle
* Restore the toggle on FE
* Add navtree item
* Add restore dashboard call
* Fix lint
* Add transformer
* Rename feature toggle
* Use the renamed toggle
* update API url
* List deleted dashboards from sql searcher
* Upd imports
* Remove permanently delete action
* Fix type assertions
* Add restore endpoints to the api
* Fix unified api
* Use db api in search
* Fix resource version
* Add tests
* Cleanup
* Extract getting db
* Add listDeletedDashboards
* Add listDeletedDashboards
* Enable restoring dashboards
* Restore to a folder
* Extract logic
* Remove type assertion
* betterer
* Cleanup
* i18n
2025-06-18 16:48:12 +03:00
Konrad Lalik
94fb519a2b
Alerting: List V2 - Use backend filters for GMA rules ( #106897 )
...
* Use state, health and receiver_name query params for server-side filtering
* Remove Unknown option from state filters
2025-06-18 15:47:53 +02:00
ismail simsek
c7e338342a
Prometheus: Introduce resource clients in language provider ( #105818 )
...
* refactor language provider
* update tests
* more tests
* betterer and api endpoints
* copilot updates
* betterer
* remove default value
* prettier
* introduce resource clients and better refactoring
* prettier
* type fixes
* betterer
* no empty matcher for series calls
* better matchers
* addressing the review feedback
2025-06-18 15:31:49 +02:00
renovate[bot]
e3cbe54b45
Update dependency rc-cascader to v3.34.0 ( #106917 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 14:22:33 +01: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
Gilles De Mey
3ab54a5562
Alerting: Several list view fixes ( #106902 )
2025-06-18 15:02:30 +02:00
renovate[bot] and Ashley Harrison
a7c65b4e0a
Update dependency msw to v2.10.2 ( #106913 )
...
* Update dependency msw to v2.10.2
* add explicit type
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2025-06-18 13:53:03 +01:00
Andreas Christou and bherbruck
24d7d8c358
Influx: Update flightsql language definition ID ( #106901 )
...
fix: replace flightsql languageDefinition.id `flightsql` with `sql`
Co-authored-by: bherbruck <brennen.herbruck@gmail.com >
2025-06-18 13:34:51 +01:00
renovate[bot]
c463e3a6e4
Update dependency @grafana/plugin-ui to v0.10.7 ( #106910 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 13:08:56 +01:00
Ashley Harrison
7070da073e
Drawer: Include divider and close button when passing a custom title element ( #106896 )
...
* make drawer title behaviour more consistent
* fix linting errors
2025-06-18 12:52:32 +01:00
renovate[bot]
6b946cf40b
Update dependency @grafana/google-sdk to v0.3.2 ( #105813 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 12:44:21 +01: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
renovate[bot]
02bdac447d
Update dependency lru-cache to v11.1.0 ( #106880 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 11:15:59 +01:00
6d7a593407
[docs] Create new page for Grafana Advisor ( #106091 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: David Harris <david.harris@grafana.com >
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
2025-06-18 11:14:35 +02:00
Alexander Akhmetov
8c6df8b449
Alerting: Add support for retrieving imported Prometheus Alertmanager configurations ( #106864 )
2025-06-18 10:49:40 +02:00
renovate[bot]
4bfd7b6d7c
Update dependency immutable to v5.1.3 ( #106838 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 10:24:39 +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
Saya
806068b9de
Drilldown: Fix js crash when using http ( #105646 )
...
Update AppWrapper.tsx
2025-06-18 08:57:28 +02:00
Sonia Aguilar
9905d3447c
Alerting: Fix RefIds not being shown when creating or editing Grafana-managed recording rule ( #106840 )
...
* fix refids when creating grafana-managed recording rule
* fix refids when editing grafana-managed recording rule
* review comments
2025-06-18 06:48:13 +00: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
grafana-pr-automation[bot] and github-actions[bot]
5448e8fb22
I18n: Download translations from Crowdin ( #106866 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-18 02:32:30 +02:00
Kevin Minehart
0ff3ed0a64
Fix 12.0.2 changelog ( #106863 )
2025-06-17 22:04:28 +00: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
Matias Chomicki
693bc51693
New Logs Panel: Read default font size from storage + add missing unescaped content check + fix mutation ( #106755 )
...
* Logs Panel: remove default value to it's taken from local storage code
* processing: do not remove newlines, let truncation handle
* LogList: check and pass unescaped content to context
* LogLine: prevent mutation of searchWords
* grammar: use parseFlags
* grammar: escape regex
2025-06-17 23:10:34 +02:00
Pepe Cano
286a6638b8
docs(alerting): fix Grafana Play links due to provisioning ( #106816 )
2025-06-17 23:08:46 +02:00
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
Brendan O'Handley
6cb2c701e6
Tempo: Enable native histograms for Tempo service graph ( #105989 )
...
* add native histogram dropdown to tempo config for service graph
* add docs for configuring native histograms
* add config native histogram options to types
* add native histogram metric to graph transform
* add native histogram to service map query for links
* add native histogram duration metric for duration queries
* use native histogram for duration queries
* export for tests
* add tests for native histogram links, queries and dataframes
* update tempo devenv to use native histograms
* use union for histogramType
* run prettier
* remove comment
2025-06-17 20:40:40 +00:00
200f3a5f51
Release: update changelog for main ( #106807 )
...
* Update changelog
* Update changelog
* Update changelog
* Update changelog
* Update changelog
* Update changelog
* Update CHANGELOG.md
add cve fixes to changelog on main
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com >
2025-06-17 13:41:51 -06:00
Florian Verdonck
45bd08baf5
ElasticSearch: Remove frontend response parsing ( #104148 )
...
* chore: Remove ElasticReponse
* Ran betterer
2025-06-17 20:20:28 +01:00
Mariell Hoversholm
18fc0bc878
Actions: Introduce Shellcheck action ( #106843 )
2025-06-17 21:15:03 +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
5e9bb9f506
Transformations: Add "Auto" mode to Organize Fields ( #103055 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Paul Marbach <paul.marbach@grafana.com >
2025-06-17 11:29:11 -05:00
Mihai Doarna
96f1582c36
Docs: Remove api key references from docs ( #106134 )
...
remove api key references from docs
2025-06-17 18:20:08 +03:00
Kevin Minehart
7bae1d9d02
CI: Pin qemu binfmt image ( #106847 )
...
statically set qemu binfmt image
2025-06-17 17:18:14 +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
Ashley Harrison
a302dad3c9
Chore: Allow package translations ( #106820 )
...
allow package translations
2025-06-17 15:46:41 +01:00
Ashley Harrison
6fcfa5f9e4
Internationalisation: Scope package translation keys ( #106844 )
...
* fix grafana-prometheus markup
* fix grafana-sql package translations
* Revert "fix grafana-sql package translations"
This reverts commit 3a85160deb .
* fix grafana-sql translations
2025-06-17 15:43:32 +01:00
Mustafa Sencer Özcan
b48337a7c8
feat: introduce ttl cache for bleve indices ( #106842 )
2025-06-17 16:28:51 +02:00
Josh Hunt
1dfbd215cd
I18n: Add rollup plugin to handle dynamic imports in prom package ( #106837 )
...
I81n: Add rollup plugin to handle dynamic imports in prom package
2025-06-17 15:06:53 +01:00
kay delaney
2aae202f92
Library Panels: Mark library panel RBAC as GA & enable by default ( #106833 )
2025-06-17 14:50:34 +01:00
kay delaney
f71c9c6ebf
Dashboards: Add undo/redo support for adding/removing template variables ( #106643 )
...
* Dashboards: Add undo/redo support for adding/removing template variables
* Remove unnecessary ObjectRemovedFromCanvasEvent
2025-06-17 14:50:11 +01:00