Commit Graph
58931 Commits
Author SHA1 Message Date
jev forsberg cf682db6a8 Fix branch triggers: Update workflows to target both main and release branches
- CORRECTED: Include both main and release-* branch patterns
- Ensures workflows run on both main branch (original functionality) and release branches (needed for backport)
- Previous commit incorrectly removed main branch support
- Workflows updated: documentation-ci, pr-codeql-analysis-*, pr-dependabot-update-go-workspace, pr-go-workspace-check, pr-k8s-codegen-check, verify-kinds, codeowners-validator
2025-07-11 15:27:29 -06:00
jev forsberg 27a210aa76 Fix branch triggers: Update workflows to target release branches
- Update 8 workflows to trigger on release-* instead of main
- Ensures workflows run on pull requests to release branches
- Workflows updated: documentation-ci, pr-codeql-analysis-*, pr-dependabot-update-go-workspace, pr-go-workspace-check, pr-k8s-codegen-check, verify-kinds, codeowners-validator
2025-07-11 15:24:14 -06:00
jev forsberg 79faa8b176 CI Migration: Replace .github with main branch version
- Complete replacement of .github directory from main branch
- Includes updated workflows, actions, and configuration files
- Ensures all CI improvements from main are included
- Next step: fix branch-specific issues in separate commits
2025-07-11 15:21:08 -06:00
jev forsberg c0e1c3cdee Update go.mod/go.sum files after cherry-pick build
- Updates from workspace sync after cherry-picking daggerbuild package
- Resolves dependency conflicts from pkg/build integration
- Required for successful build after CI migration backport
2025-07-10 17:04:18 -06:00
Kevin Minehart db79a72d42 CI: move grafana-build into pkg/build (#105640)
* move grafana-build into pkg/build
2025-07-10 16:24:16 -06:00
grafana-delivery-bot[bot] 8f146eccb0 [release-12.0.3] IAM: Return 401 if identity type is not valid in GetUserPreferences (#107827)
IAM: Return 401 if identity type is not valid in GetUserPreferences (#107760)

fix(GetUserPreferences): Return 401 if identity type is not valid

(cherry picked from commit e4743a9092)
2025-07-09 08:10:26 +01:00
Jacob Valdez ad378babc5 Docs: Updating team sync availability (#107721) (#107742) 2025-07-08 11:10:49 +02:00
Leon SorokinandAdela Almasan 9a40555ed3 [release-12.0.3] StateTimeline: Add endTime to tooltip (#107606)
StateTimeline: Add endTime to tooltip (#106582)

Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
2025-07-08 01:38:20 +01:00
586439044e [release-12.0.3] Update Advisor docs (#107696)
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
Co-authored-by: Anna Urbiztondo <anna.urbiztondo@grafana.com>
2025-07-07 15:31:42 +02:00
grafana-delivery-bot[bot] 42bee60987 [release-12.0.3] Auth: fix role_attribute_path when using ID tokens in Gitlab OAuth (#107653)
Auth: fix role_attribute_path when using ID tokens in Gitlab OAuth (#107634)

(cherry picked from commit 5b5d5fe675)
2025-07-07 08:14:36 +02:00
grafana-delivery-bot[bot]andIsabel Matwawana 222e329130 [release-12.0.3] Doc: Remove dynamic dashboards section (#107646)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-07-04 12:12:51 -04:00
Peter Štibraný fb59ff62a8 [release-12.0.3] Unified storage: Respect GF_DATABASE_URL override (#107566)
Unified storage: Respect GF_DATABASE_URL override (#105331)

* Database for unified storage resources now reuses DB code that respects URL override.

Access instrument_queries via section getter.

(cherry picked from commit 041c343a86)
2025-07-03 14:35:37 +02:00
716cf170fb [release-12.0.3] Graphite: Fix recursion (#107568)
Graphite: Fix recursion (#106983)

* Fix for repeated row variables

* Add unit tests

* Do not recursively replace queries that self-reference

---------


(cherry picked from commit 7135832fff)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2025-07-03 12:45:03 +01:00
bdc079ebcb [release-12.0.3] Graphite: Fix nested variable interpolation for repeated rows (#107565)
Graphite: Fix nested variable interpolation for repeated rows (#106976)

* Fix for repeated row variables

* Add unit tests

---------


(cherry picked from commit f7667f44db)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2025-07-03 11:29:10 +01:00
grafana-delivery-bot[bot]andAndreas Christou 05a2a067d0 [release-12.0.3] Graphite: Fix date mutation (#107524)
Graphite: Fix date mutation (#107414)

* Fix date mutation

- Add unit test
- Improve types

* Add invalid test and minor cleanup

* Review

(cherry picked from commit a01b1536f9)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2025-07-03 11:01:47 +01:00
grafana-delivery-bot[bot]andKonrad Lalik 1895ff6b3e [release-12.0.3] Alerting: Fix group interval override when adding new rules (#107441)
* Alerting: Fix group interval override when adding new rules (#107324)

* Fix group interval override when adding new rules to existing groups

* Fix lint errors

* Update tests snapshots

* Update tests snapshots

* Fix GrafanaGroupLoader

(cherry picked from commit 3a38832ff6)

* Fix failing tests, fix ruler mock

---------

Co-authored-by: Konrad Lalik <konradlalik@gmail.com>
2025-07-03 11:10:12 +02:00
grafana-delivery-bot[bot]andPepe Cano ad9312b746 [release-12.0.3] docs(alerting): clarify usage of different Alertmanagers and fix misleading details (#107542)
docs(alerting): clarify usage of different Alertmanagers and fix misleading details (#107498)

* docs(alerting): clarify usage of different Alertmanagers and fix misleading details

* address review changes

(cherry picked from commit 61efc8b609)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-07-02 16:12:26 -05:00
7a6e4f8fed [release-12.0.3] Docs: Update render service tracing (#107450)
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
Co-authored-by: jtvdez <jacob.valdez@grafana.com>
2025-07-01 12:22:50 +02:00
grafana-delivery-bot[bot]andIsabel Matwawana 99d1cfdff2 [release-12.0.3] Docs: Add Undo and redo to dynamic dashboards (#107421)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-06-30 15:26:20 -04:00
grafana-delivery-bot[bot]andIsabel Matwawana de20e74de0 [release-12.0.3] Docs: Replace refs with full URLs in shared files (#107420)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-06-30 15:18:59 -04:00
Pepe Cano b2825ffde9 [release-12.0.3] docs(alerting): Add Detect missing series in Prometheus section to the MissingData guide (#107374)
* docs(alerting): Add `Detect missing series in Prometheus` section to the MissingData guide (#107329)

(cherry picked from commit 2f1a6ae171)

* fix ref link
2025-06-30 17:32:11 +02:00
grafana-delivery-bot[bot] e5cfceac59 [release-12.0.3] Docs: Fix graph styles and axis options content (#107402)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
Fix graph styles and axis options content (#107008)
2025-06-30 10:56:20 -04:00
grafana-delivery-bot[bot]andPepe Cano be35f2dd83 [release-12.0.3] docs(alerting): add new guidelines to the missing data alerting guide (#107272)
docs(alerting): add new guidelines to the missing data alerting guide (#107232)

(cherry picked from commit ff4d7d35c6)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-06-30 10:00:23 +02:00
grafana-delivery-bot[bot]andPepe Cano e6b078bc0f [release-12.0.3] docs(alerting): performance considerations minor clarifications (#107369)
docs(alerting): performance considerations minor clarifications (#107333)

(cherry picked from commit f5b79fca55)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-06-30 09:55:12 +02:00
Andreas Christouandbeejeebus 5680880303 [release-12.0.3] InfluxDB: Fix regex for finding regexes in frontend code (#107234)
InfluxDB: Fix regex for finding regexes in frontend code (#105194)

When interpolating variables in the frontend, we want to be sure to
escape special characters if the variable is used in a regex.

We used a regex to find regexes in raw queries, which contained a bug.
The regex treated any `/` character as the start of a regex. However,
InfluxQL (and most sql dialects) support using `/` as a division
operator.

This PR adds a check for `=~` or `!~` immediately preceding `/` as the
beginning of a regex, as per the InfluxQL spec for regexes:

https://docs.influxdata.com/influxdb/v2/reference/syntax/influxql/spec/#regular-expressions

Fixes https://github.com/grafana/support-escalations/issues/16219

(cherry picked from commit 8f4b2bbece)

Co-authored-by: beejeebus <justin.randell@grafana.com>
2025-06-27 18:09:23 +01:00
grafana-delivery-bot[bot]andMitch Seaman ea91e8b84c [release-12.0.3] [Docs] Panel embedding not available in Cloud (#107259)
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
2025-06-27 09:33:11 -04:00
grafana-delivery-bot[bot] e45a1b539d [release-12.0.3] Docs: Fixing broken links in migration assistant docs (#107203)
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Fixing broken links in migration assistant docs (#107191)
2025-06-25 10:51:51 -05:00
Andreas Christou c468f7842b [release-12.0.3] InfluxDB: Fix variable interpolation on adhoc filters (#106992) 2025-06-24 11:10:00 -06:00
Stephanie Hingtgen b296a51d0d [release-12.0.3] Dashboard: Fix history retrieval for uids that end in - (#107081) 2025-06-24 15:47:12 +03:00
Alexander Akhmetov 037fe5dfe9 [release-12.0.3] Alerting: Maintain endsAt for missing alert instances that are not stale yet (#107078)
Alerting: Maintain endsAt for missing alert instances that are not stale yet (#107011)
2025-06-24 11:56:48 +02:00
Alexander Akhmetov 3de18b7281 [release-12.0.3] Alerting: Resend alerts for states that are missing in the eval results (#107077)
* Alerting: Resend alerts for states that are missing in the eval results (#105965)

What is this feature?

This PR fixes the MissingSeriesEvalsToResolve behavior when it's set to more than 4 evaluation intervals.

Why do we need this feature?

The MissingSeriesEvalsToResolve setting was not working correctly due to alerts being auto-resolved by Alertmanager after 4 evaluation intervals (via the endsAt field).

Before we had deleteStaleStatesFromCache method that was returning only stale states that had to be resolved. Non-stale states for which the current evaluation does not have a series never had endsAt updated and were never resend to the Alertmanager, so they were automatically resolved after 4 evaluations regardless of the setting.

The new processMissingSeriesStates returns state for each missing series on every evaluation, and resolves the stale ones. This guarantees that alerts without series still alert for the configured number of evaluations.

* Remove FiredAt field
2025-06-24 11:26:15 +02:00
Jack Baldry ff2ac27301 Fix all the old usage of admonition syntax (#107017) 2025-06-24 09:23:29 +01:00
J Stickler 623302d055 Backport #106955 to v12 branch (broken link) (#107058) 2025-06-24 09:23:07 +01:00
grafana-delivery-bot[bot]andAndreas Christou 384797ba3a [release-12.0.3] Azure: Fix resource name determination in template variable queries (#106942)
Azure: Fix resource name determination in template variable queries (#105705)

* Correctly parse resource URIs

* Update test

* Update variable function

(cherry picked from commit 4020a3d96a)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2025-06-18 20:20:12 +02:00
grafana-delivery-bot[bot]andAndreas Christou e0b1e649b8 [release-12.0.3] Graphite: Fix annotation queries (#106941)
Graphite: Fix annotation queries (#106553)

* Add refid to annotation queries

* Fix errors

(cherry picked from commit 6e45069cdd)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2025-06-18 18:30:31 +01:00
grafana-delivery-bot[bot]andAndreas Christou c0bf61f5e7 [release-12.0.3] Azure: Fix legend formatting (#106935)
Azure: Fix legend formatting (#106504)

Fix inconsistent casing in resource URIs

(cherry picked from commit 629bd11c07)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2025-06-18 17:21:29 +02:00
a4b56e7583 [release-12.0.3] CloudMigrations: Skip default contact point from snapshot (#106886)
CloudMigrations: Skip default contact point from snapshot (#106600)

* CloudMigrations: Skip default contact point from snapshot

* Update cloud-migration-assistant.md

* Update cloud-migration-assistant.md

---------


(cherry picked from commit a65743e41d)

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-06-18 13:03:30 +02:00
grafana-delivery-bot[bot]andMatheus Macabu 2dc0628b3d [release-12.0.3] CloudMigrations: Add Mute Timings as dependency for Notification Policies (#106884)
CloudMigrations: Add Mute Timings as dependency for Notification Policies (#106751)

(cherry picked from commit db845ed8de)

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
2025-06-18 13:02:55 +02:00
c6ebb91eb1 [release-12.0.3] [docs] Create new page for Grafana Advisor (#106894)
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
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:22:10 +02:00
Kevin Minehart 3ff82a3e6c Fix 12.0.2 changelog (#106863) 2025-06-17 17:10:31 -05:00
grafana-delivery-bot[bot]andPepe Cano 74d69b50d1 [release-12.0.2] docs(alerting): fix Grafana Play links due to provisioning (#106860)
docs(alerting): fix Grafana Play links due to provisioning (#106816)

(cherry picked from commit 286a6638b8)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-06-17 16:25:31 -05:00
github-actions[bot] 60ecc8481c apply security patch: release-12.0.2/438-202505231907.patch 2025-06-17 16:25:12 -05:00
b0dad3f11b Release: 12.0.2 (#106855)
* Update changelog

* Update version to 12.0.2

* Update CHANGELOG.md

add cve fix to changelog

---------

Co-authored-by: grafana-delivery-bot[bot] <grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2025-06-17 16:09:37 -05:00
grafana-delivery-bot[bot]andMihai Doarna 0989a8d89f [release-12.0.2] Docs: Remove api key references from docs (#106849)
Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com>
2025-06-17 17:36:44 +02:00
grafana-delivery-bot[bot]andPepe Cano d8f106637e [release-12.0.2] docs(alerting): specify that the PUT request of the rule group endpoint can create a new rule group (#106803)
docs(alerting): specify that the `PUT` request of the rule group endpoint can create a new rule group (#106727)

(cherry picked from commit 51b05b1b3d)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-06-17 10:52:36 +02:00
grafana-delivery-bot[bot]andJacob Valdez 960f7f9bc4 [release-12.0.2] Docs: Adding info on allowlisting IPs for the Cloud Migration Assistant (#106793)
Docs: Adding info on allowlisting IPs for the Cloud Migration Assistant (#106447)

* Docs: Adding info on allowlisting IPs for the Cloud Migration Assistant

* adjusting the wording

(cherry picked from commit 7cdd4470c6)

Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-06-16 13:39:09 -05:00
9cb8cd3a08 [release-12.0.2] Docs: Document remote_cache is only used if a remote database is used (#106791)
Docs: Document `remote_cache` is only used if a remote database is used (#104779)

* Document `remote_cache` is only used if a remote database is used

* Update _index.md

---------


(cherry picked from commit 19a65a4865)

Co-authored-by: Mathias Petermann <mathias.petermann@gmail.com>
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-06-16 11:47:19 -05:00
grafana-delivery-bot[bot]andbrauhaus-grafana 9ed9daa02b [release-12.0.2] Update index.md (#106784)
Co-authored-by: brauhaus-grafana <daniel.brown@grafana.com>
2025-06-16 17:28:46 +02:00
4682070384 [release-12.0.2] FlameGraph: Fix bug for function names that conflict with JavaScript object prototype properties (#106625)
FlameGraph: Fix bug for function names that conflict with JavaScript object prototype properties (#106338)

* grafana-flamegraph: Fix bug for function names that conflict with JavaScript object prototype properties

The bug occurs in the flamegraph data transformation logic where function names from profiling data are used as object
keys without proper prototype pollution protection.

Fixes #106232 #101551



* Fix top table calculations

---------



(cherry picked from commit 6156e9c2d8)

Co-authored-by: Christian Simon <simon@swine.de>
Co-authored-by: vinayteki95 <vinayteki95@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2025-06-16 13:30:46 +01:00
Christian Simon 6b963c16e2 [release-12.0.2] Profiles: Stop passing response headers for Grafana-Pyroscope and parca datasources (#106730)
Profiles: Stop passing response headers for Grafana-Pyroscope and parca datasources (#106577)

* Revert "pkgs/tsdb/[grafana-pyroscope-datasource|parca]: Fix use of request headers in responses"

This reverts commit 8bac68e906.

* Profiles: Stop passing request/response headers to the backend

(cherry picked from commit 8fdf86e56f)
(cherry picked from commit 7878815ffc)
2025-06-16 13:27:28 +01:00