Commit Graph

58952 Commits

Author SHA1 Message Date
github-actions[bot] 7dff0d42ee Release: 12.0.4 (#109612)
* Update changelog

* Update version to 12.0.4

---------

Co-authored-by: grafana-delivery-bot[bot] <grafana-delivery-bot[bot]@users.noreply.github.com>
2025-08-13 09:18:05 -06:00
grafana-delivery-bot[bot] 4bc0eb967a [release-12.0.1] DataSourceSrv: include alias in type filter (#104334)
* DataSourceSrv: include alias in type filter (#104308)

(cherry picked from commit 82332819ef)

* Trigger build / Empty commit

* Trigger build / Empty commit

* Trigger build / Empty commit

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Develer <yeryomin.igor@gmail.com>
2025-08-13 17:04:58 +02:00
Isabel Matwawana 5c007f3544 Doc: Add missing ref (#109354) v12.0.4 2025-08-11 09:47:57 +01:00
grafana-delivery-bot[bot] 97f7cfa946 [release-12.0.4] DOCS: Updates to help with UI improvement work (#109363)
DOCS:  Updates to help with UI improvement work (#109359)

* updates to help with UI improvements

* ran prettier

(cherry picked from commit e6c24e0709)

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2025-08-07 15:49:11 -05:00
grafana-delivery-bot[bot] 3bc640a6bb [release-12.0.4] CloudMigrations: Report on prem event with grafana version (#109331)
CloudMigrations: Report on prem event with grafana version (#104515)

* grafana version in on prem event report

* store grafana version in cloud migration service

(cherry picked from commit ee99433c65)

Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
2025-08-07 14:33:47 +01:00
Mariell Hoversholm fd74988a1a [release-12.0.4] Go: Update to 1.24.6 (#109317) 2025-08-07 10:27:54 +02:00
Kevin Minehart 3f6d86983d [12.0.4] update release build (#109265)
* sync release-build w/ main

* Update Dockerfile

* Undo some dockerfile updates
2025-08-06 11:27:24 -05:00
grafana-delivery-bot[bot] e4aace167f [release-12.0.4] docs: Adding clarification to branding docs (#109198)
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-08-05 11:49:07 -05:00
grafana-delivery-bot[bot] ce2e3b1693 [release-12.0.4] Update cloud-migration-assistant.md (#109192)
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-08-05 08:14:15 -05:00
grafana-delivery-bot[bot] b398dde373 [release-12.0.4] Docs: MSSQL data source overhaul (#108988)
Docs: MSSQL data source overhaul (#107478)

* created config doc

* updated the config doc

* updates to the configure doc

* updates to configure doc

* updated the templates doc

* more query editor edits

* final edit on templates doc

* final query editor edits and new screenshots

* added tables to configure

* final edits

* final edits

* final edits

* added admonition and updates based on feedback

* ran prettier

(cherry picked from commit 0cc636665a)

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2025-07-31 19:39:37 +01:00
grafana-delivery-bot[bot] a87e7da961 [release-12.0.4] MySQL documentation major improvements (#108938)
MySQL documentation major improvements (#107690)

* added keywords and fixed description

* Update (dateColumn) description



* Mount docs from the current repository



* Clean up variables



* Improve timeFilter and timeGroup macro description



* Fix timefilter macro example formatting



* Fix time macro example formatting



* Remove extra spaces from timefilter macro example



* Introduce new table and Add examples for time, timeFilter and timeGroup Macros



* Improve existing examples of timeGroupAlias Macro



* Remove data frame description



* fixed the homepage with valid links



* Add Table Panel results for Macros



* fixed and define the configuration part for grafana mysql user



* fixed port typo



* remove the sqlDatasourceDatabaseSelection based https://github.com/grafana/grafana/issues/105232



* added annotation single tag example



* Change format type



* fix minor typos and run prettier



* Address Macros specific changes



* Revert column name and replace URL with version substitution



* re-added the text for the feature flag



* revert back the changes for the grafana mysql usage



* fixed links as per writers toolkit guide

* run prettier



* Update docs/sources/datasources/mysql/query-editor/_index.md

thanks



---------







(cherry picked from commit f7f8a52bda)

Signed-off-by: Sheikh-Abubaker <sheikhabubaker761@gmail.com>
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Signed-off-by: Usman Ahmad <usman.ahmad@grafana.com>
Co-authored-by: Usman Ahmad <usman.ahmad@grafana.com>
Co-authored-by: Sheikh-Abubaker <sheikhabubaker761@gmail.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2025-07-30 10:31:42 -05:00
grafana-delivery-bot[bot] 5e1298ba48 [release-12.0.4] docs: clarifying alert rule limits in Grafana cloud for migration assistant (#108798)
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-07-28 09:08:27 -05:00
Alyssa Joyner 809a7078cf [release-12.0.4] Update Influx Config Options Section in Docs (#108714) 2025-07-25 12:35:40 -06:00
grafana-delivery-bot[bot] 2a2df37b25 [release-12.0.4] Docs: Document cell options by cell type (#108635)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-07-24 16:03:59 -04:00
github-actions[bot] b119dff5ca Release: 12.0.3 (#108549)
* Update changelog

* Update version to 12.0.3

* Update CHANGELOG.md

update changelog

* remove failing/blocking test

* revert

---------

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>
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2025-07-23 13:35:12 -06:00
jev forsberg 3b49fbaa5c make drone v12.0.3 2025-07-23 10:49:04 -06:00
jev forsberg 3574f03e54 Dependencies: Bump Go to v1.24.5
Resolves enterprise build failures caused by dependency cascade requiring Go 1.24.5.
Updates all workspace modules and build configuration for consistency.

- Update go.work, go.mod, and 29 workspace modules from Go 1.24.4 to Go 1.24.5
- Update Dockerfile: golang:1.24.4-alpine → golang:1.24.5-alpine
- Update Makefile and drone variables to Go 1.24.5
- Aligns with main branch (commit 52f6104230)
- Prevents GOTOOLCHAIN=local build failures in CI environments
- Tested: go mod tidy, workspace sync, and enterprise builds all work

Fixes issue where enterprise drone builds failed with:
'go: go.work requires go >= 1.24.5 (running go 1.24.4; GOTOOLCHAIN=local)'

Related to release-12.0.3 tagging requirements.
2025-07-23 10:39:46 -06:00
Jev Forsberg b6513f5273 Chore: fix broken deps (#108409)
* baldm0mma/ fix deps

* Fix: Restore external dependencies for external consumers while preserving local development

- Add back external grafana module dependencies needed for external consumers
- Keep replace directives to ensure local development uses workspace modules
- Restore storage package external dependencies in main go.mod and apistore go.mod
- Update workspace synchronization to handle hybrid dependency approach

This enables both:
- External consumers: can import grafana modules at release tags (v12.0.3)
- Local development: uses workspace modules via replace directives

Fixes CI workspace validation while maintaining go mod tidy and build functionality.

* Fix: Move promlib and semconv to external consumer section

- promlib and semconv belong in the commented section for external consumers
- These dependencies are specifically mentioned as needed for external projects
- Maintains proper organization between regular deps and external consumer deps
2025-07-21 14:52:09 -06:00
Jev Forsberg 481751c145 Chore: Fix tag build (#108343)
* baldm0mma/ add bash to dagger download and github app pipeline volumes

* baldm0mma/ run drone starlark convert

* baldm0mma/ run make drone

* Add docstring and fix formatting for rgm_tag function

- Add proper docstring to rgm_tag() function per Starlark linting requirements
- Fix formatting with buildifier
- Resolves pr-verify-starlark linting issues
2025-07-18 13:13:06 -06:00
Jev Forsberg dc6bd2a20a CI Migration: Backport pkg/build (daggerbuild) and GHAs to release-12.0.3 (#107997)
* CI: move grafana-build into pkg/build (#105640)

* move grafana-build into pkg/build

* 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

* 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

* 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

* 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

* CI Migration: Update .gitignore to allow OSS wire file to be committed

- Remove **/wire_gen.go (allow pkg/server/wire_gen.go to be committed)
- Add /pkg/server/enterprise_wire_gen.go (keep enterprise wire file ignored)
- This enables the new committed wire files architecture for CI

* CI Migration: Add enhanced wire tool with automatic build constraints

- Backport enhanced wire tool from main branch with -gen_tags flag
- This enables automatic regeneration with proper constraints to prevent conflicts
- Wire file contains all required functions: Initialize, InitializeDocumentBuilders, etc.
- Solves the missing wire functions issue causing CI failures
- Enhanced tool ensures build constraints persist on regeneration

* CI Migration: Update Makefile to use enhanced wire tool with build constraints

- Update gen-go target to use -gen_tags flag for automatic build constraints
- Ensures future engineers get proper build constraints when running 'make gen-go'
- Matches main branch approach for consistent wire file generation
- Removes dependency on WIRE_TAGS variable and GO_RACE_FLAG for simplicity

* Add gen-enterprise-go target to Makefile for release-12.0.3

- Backports gen-enterprise-go target from main branch
- Enables enterprise wire file generation in release branches
- Part of CI migration backport wire infrastructure fixes
- Resolves CI issues where enterprise wire functions were missing

* Fix wire tool golden file format for Drone CI compatibility

- Update all 43 golden test files to match main branch format
- Change go:generate command from github.com/google/wire/cmd/wire to ./pkg/build/wire/cmd/wire/main.go
- Remove legacy '// +build !wireinject' constraints
- Fixes Drone CI test failures that were blocking OSS PR merge
- All wire tests now pass successfully

This aligns the backport branch with the golden file format updates
that were made in main branch when the wire tool was enhanced.

* Update swagger specs to include enterprise APIs

- Regenerated api-enterprise-spec.json with enterprise API definitions
- Updated api-merged.json with merged OSS and enterprise specs
- Regenerated openapi3.json with complete API specifications
- Fixes enterprise CI swagger generation validation failures
- Enterprise APIs now properly detected and documented

* Fix OSS integration tests missing enterprise build tags in Drone CI

- Add -tags=enterprise to all integration test steps in lib.star
- Fixes test-backend-integration, postgres-integration-tests, and mysql-integration-tests
- Regenerate .drone.yml with proper enterprise build tags
- Resolves 'server could not find the requested resource' errors for enterprise APIs
- Ensures enterprise APIs (querylibrary, reporting, banners, scim) are registered during tests
- Aligns OSS Drone CI with GitHub Actions behavior and enterprise repository

* Fix CODEOWNERS for release-12.0.3 compatibility

- Remove 21 entries that reference files/directories not present in release branch
- Resolves File Exist Checker failures in codeowners-validator workflow
- Maintains team ownership assignments from main branch for existing files
- Lines removed: .air.toml, apps/secret/, apps/iam/, e2e-playwright/, packages/grafana-alerting/, etc.

* baldm0mma/ update releasefinder

* Add i18n-extract script for release branch compatibility

- Add 'i18n-extract': 'make i18n-extract' to package.json scripts
- Resolves i18n-verify workflow failure that expects this script
- The make target already exists and handles OSS + enterprise i18n extraction
- Maintains i18n verification functionality from main branch workflows
- Simple safe addition that calls existing make infrastructure

* Phase 4: Fix GitHub Actions workflow branch triggers

- Add release-*.*.* pattern to 8 workflows missing it
- Fix duplicate release branch patterns in 3 workflows
- Ensure consistent branch trigger format across all workflows
- Critical workflows now properly trigger on release branches

Fixes workflows: actionlint, backend-code-checks, go-lint, reject-gh-secrets,
run-schema-v2-e2e, shellcheck, swagger-gen, trivy-scan

* Fix: Backport E2E runner infrastructure for Enterprise CI

- Add e2e/main.go and e2e/internal/ directory from main branch
- Add urfave/cli/v3 dependency required by E2E runner
- Fixes Enterprise CI failure: 'Build E2E test runner' and 'Build & package Grafana for e2e tests'
- Root cause: E2E runner infrastructure was added to main after release-12.0.3 branch creation
- Solution: Backport missing E2E runner files to enable Enterprise CI completion

Resolves: no Go files in /opt/actions-runner/_work/grafana-enterprise/grafana-enterprise/grafana/e2e

* Fix: Update go.mod dependency classification for urfave/cli/v3

- Change urfave/cli/v3 from indirect to direct dependency
- Fixes Go Workspace Check failure in CI
- Required after adding E2E runner infrastructure that directly imports urfave/cli/v3
- Resolves: make update-workspace corrects dependency classification

* Fix: Add team ownership for urfave/cli/v3 dependency

- Assign @grafana/grafana-backend-group as owner for github.com/urfave/cli/v3@v3.3.8
- Follows existing pattern: urfave/cli v1 and v2 also owned by grafana-backend-group
- Resolves Backend Code Checks / Validate Backend Configs CI failure
- Required for E2E runner infrastructure dependency ownership compliance

Fixes: modowners check requiring team assignment for newly added dependencies

* Fix: Revert experimental E2E playwright infrastructure to stable version

- Revert pr-e2e-tests.yml to stable Cypress-based E2E testing
- Remove experimental storybook-verification-playwright.yml workflow
- Revert run-dashboard-search-e2e.yml and release-pr.yml to use e2e/test-plugins/
- Keep stable E2E runner infrastructure (e2e/main.go + e2e/internal/)
- Remove experimental playwright features per team recommendation

Team feedback: Playwright tests are experimental and shouldn't be backported to stable release branches

* Fix: Complete cleanup of experimental playwright dependencies

- Revert package.json to stable version (remove e2e-playwright scripts and path references)
- Revert playwright.config.ts to stable plugin-e2e configuration
- Remove all experimental playwright infrastructure dependencies
- Ensure clean stable E2E testing environment

All experimental features removed per team recommendation for stable release branches

* Fix: Restore working package.json configuration

- Revert package.json to version 12.0.3 (working release branch version)
- Fix workspace dependency resolution issues caused by incorrect revert to main branch version
- FE tests, betterer, and linting should now work correctly

Issue was caused by reverting package.json to main branch (12.1.0-pre) instead of keeping
the working release branch configuration (12.0.3)

* CI: mirror some CI dependencies (#106148)

* mirror some CI dependencies
* remove -v from go build

* Fix: Backport missing e2e/run-suite script for daggerbuild E2E system

The daggerbuild E2E system (used by OSS workflows) expects ./e2e/run-suite
to exist, but we only backported the new E2E runner infrastructure.

This script is needed for:
- OSS workflow: 'go run ./pkg/build/e2e --suite=dashboards-suite'
- Legacy Cypress configuration with video support
- Integration between daggerbuild and existing Cypress test suites

Resolves E2E test failures in OSS workflows where videos directory
cannot be found because run-suite script was missing.

* Fix: Resolve daggerbuild E2E path doubling issue

- Extract just suite name from full path using filepath.Base()
- Prevents doubled paths like './e2e/e2e/dashboards-suite/videos'
- Resolves 'no spec files found' and 'no such file or directory' errors
- GitHub Actions passes full paths like 'e2e/dashboards-suite' but run-suite script expects just 'dashboards-suite'

* Infrastructure: Wholesale copy pkg/build/ from main

COMPLETE DAGGERBUILD SYSTEM UPDATE:
- Modern E2E system with CLI framework and --flags support
- New accessibility testing system (a11y/)
- New Playwright E2E testing system (e2e-playwright/)
- External infrastructure improvements (musl.cc → dl.grafana.com/ci)
- Updated daggerbuild core components with latest fixes
- Updated Go dependencies and wire modules

ARCHITECTURAL COMPATIBILITY VERIFIED:
- Modern pkg/build calls: ./e2e-runner cypress --start-grafana=false --cypress-video
- Our e2e runner supports: All required parameters including --suite, --env flags
- GitHub Actions workflows: Pass compatible arguments
- Binary builds: Successfully creates working e2e-runner

RESOLVES ISSUES:
- Fixes --flags parameter compatibility with GitHub Actions
- Includes all follow-up infrastructure improvements
- Provides complete, tested system with modern CLI framework
- Eliminates external dependency failures (musl.cc timeouts)
- Removes need for path doubling workarounds (modern system handles full paths correctly)

Replaces incremental cherry-picking with complete, tested system from main.

* Dependencies: Update Go modules after pkg/build wholesale copy

DEPENDENCY UPDATES:
- Updated go.work.sum with new dependencies from modern pkg/build system
- Updated all workspace module dependencies (go.mod/go.sum files)
- Removed pkg/build/cmd/enterprise.go (enterprise-only file, gets copied during enterprise development)

ENTERPRISE INTEGRATION FIX:
- enterprise.go file doesn't belong in OSS repository
- Gets copied from grafana-enterprise during development mode
- Main branch doesn't have this file, explaining module compatibility

All Go modules now properly resolved and compatible with modern pkg/build architecture.

* Dependencies: Update workspace Go module checksums after pkg/build wholesale copy

- Synchronizes all go.sum files across workspace modules
- Adds missing .mod.h1 entries that were required after infrastructure update
- Resolves Go Workspace Check CI failures
- Updates 22 modules: .citools/, apps/, pkg/ subdirectories plus go.work.sum

Addresses CI error: 'Please run make update-workspace and commit the changes'

* Infrastructure: Revert to pre-Playwright E2E system for release branch compatibility

Strategic combination of modern daggerbuild with stable E2E infrastructure:

**Modern Daggerbuild (from main):**
- Latest CLI framework (github.com/urfave/cli/v3)
- External infrastructure fixes (musl.cc → dl.grafana.com/ci)
- Complete pkg/build/ system with all enhancements
- Updated dependencies and architecture improvements

**Stable E2E Infrastructure (pre-Playwright):**
- pkg/build/e2e/service.go: Reverted to version before commit b6580ccb10
- pkg/build/a11y/: Reverted to stable version compatible with existing infrastructure
- Removed experimental pkg/build/e2e-playwright/ system
- Removed experimental e2e-playwright/ test infrastructure

**Why This Approach:**
- GitHub Actions workflows call 'go run ./pkg/build/e2e' (modern system)
- Modern system now expects only standard e2e/ directory (compatible)
- Release branches have standard e2e/ infrastructure (dashboards-suite, various-suite, etc.)
- Eliminates dependency on experimental Playwright infrastructure

**Key Dependencies Met:**
- e2e/pa11yci.conf.js: Added for a11y test compatibility
- /src/e2e directory: Standard directory structure (no e2e-playwright needed)
- Existing test plugins: Uses stable e2e/test-plugins/

**Result:**
Best of both worlds - modern, reliable daggerbuild infrastructure with
proven E2E testing that works across all release branches without
requiring experimental dependencies.

* Fix: Remove unused embed.go file causing golangci-lint failure

- Removes pkg/build/daggerbuild/msi/embed.go with unused embed.FS variable
- MSI build process uses directory mounting instead of embedded filesystem
- Resolves 'var resources is unused (unused)' linting error

* Fix: Update Node.js version to match working E2E configuration

- Changes from v22.11.0 to v22.16.0 to match commit 17952d45e4
- Working commit had all E2E tests passing with same daggerbuild infrastructure
- Node.js version differences can affect frontend builds and UI rendering
- Ensures consistent environment between working reference and current branch

* Fix: Use conditional container base for E2E compatibility

- Alpine for OSS tests (better old arch dashboardScene=false compatibility)
- Ubuntu for Enterprise tests (when image renderer needed)
- Restores original release-12.0.3 Alpine behavior for OSS
- Should resolve old arch E2E test failures

* Fix: Go fmt formatting for conditional container logic

* Revert: Remove unnecessary Alpine/Ubuntu conditional logic

- Real issue was wrong environment variable name (dashboardScene vs DISABLE_SCENES)
- Keep Ubuntu base (original main branch behavior) for simplicity
- Container base was not the root cause of old arch failures

* Experiment: Copy scripts/ from pre-Playwright commit (ea0ddb3fc9)

- Copied scripts directory from commit ea0ddb3fc9 (just before Playwright migration)
- This overwrites some CI migration fixes but testing if it's actually needed
- Can revert back to b9b4602dbd if CI breaks

Test commit to see real impact on GitHub Actions workflows.

* trigger ci 01

* Fix: Copy .drone.star from main to match scripts structure

- Resolves Starlark evaluation error for missing integration_test_pipelines
- Aligns .drone.star with main branch scripts structure
- Same fix applied to both OSS and Enterprise repositories

* make drone

* Fix ARM/v7 Docker build failures by using dagger run for cross-compilation

- Change artifacts_cmd() in scripts/drone/steps/rgm.star to use 'dagger run go run' instead of 'go run'
- Add --max-execution-steps 100000 to make drone target in Makefile to properly regenerate .drone.yml
- This fixes CGO cross-compilation issues with SQLite for ARM/v7 Docker builds
- Matches the approach already used successfully in Enterprise builds

* Fix Docker base image references in rgm build steps

- Change from symbolic names (alpine-base, ubuntu-base) to actual Docker images
- alpine-base → alpine:3.21.3
- ubuntu-base → ubuntu:22.04
- Add ubuntu and alpine parameters to rgm_artifacts_step and rgm_build_docker_step functions
- Fixes Docker pull errors: 'repository does not exist or may require authorization'
- Aligns OSS configuration with Enterprise approach

---------

Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
2025-07-18 09:14:14 -06:00
Jev Forsberg aee6b20c7f Security: Fixes for CVE-2025-6197 and CVE-2025-6023 (#108282)
fix(redirect): make validation of redirect uri stricter

Co-authored-by: volcanonoodle <114113189+volcanonoodle@users.noreply.github.com>
2025-07-17 15:06:16 -06:00
grafana-delivery-bot[bot] bf23c3c9e1 [release-12.0.3] Docs: Updated the Graphite data source docs (#107432)
Docs: Updated the Graphite data source docs (#105426)

* initial edits

* edits to config doc

* query editor updates

* ran prettier

* updates

* made more updates

* final edits

* ran prettier, updated some descriptions

* a few more quick edits

* one more definition

(cherry picked from commit dec2df8379)

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2025-07-17 16:41:47 +01:00
Jev Forsberg f5aa69691c [release-12.0.3] Chore: Update supported versions doc (#108235)
Chore: Update supported versions doc (#108230)

baldm0mma/ update sup versions

(cherry picked from commit 1c8a24c489)
2025-07-17 15:09:05 +02:00
grafana-delivery-bot[bot] 6fcecaf20d [release-12.0.3] Docs: Remove references to DD feature toggle (#108182)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-07-16 10:35:49 -04:00
grafana-delivery-bot[bot] cc98b5d67d [release-12.0.3] docs: Clarifying the support level of SCIM (#108039)
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-07-11 13:10:03 -05:00
grafana-delivery-bot[bot] 1e822f8575 [release-12.0.3] Docs: Updating team sync admonition wording (#108025)
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-07-11 08:51:24 -05: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 Sorokin 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
grafana-delivery-bot[bot] 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] 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
grafana-delivery-bot[bot] 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
grafana-delivery-bot[bot] 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] 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] 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] 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
grafana-delivery-bot[bot] 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] 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] 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] 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] 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 Christou 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] 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