Go to file
Alexander Akhmetov 85b0b47efd
Alerting: Allow disabling provenance in the Prometheus conversion API (#101573)
When creating Grafana-managed alerts from Prometheus rule definitions with mimirtool or cortextool, the rules are marked as "provisioned" and are not editable in the Grafana UI. This PR allows changing this by providing an extra header: --extra-header="X-Disable-Provenance=true".

When provenance is disabled, we do not keep the original rule definition in YAML, so it is impossible to read it back using the Prometheus conversion API (mimirtool/cortextool). This is intentional because if we did keep it and the rule was later changed in the UI, its Prometheus YAML definition would no longer reflect the latest version of the alert rule, as it would be unchanged.
2025-03-11 19:53:28 +01:00
.bingo [Enterprise] Consolidate extensions folders and keep them around (#98486) 2025-02-17 14:00:21 +01:00
.changelog-archive Chore: Archive v8,9, and 10 CHANGELOG content (#97448) 2024-12-05 16:09:38 -07:00
.github Chore: bump codeql versions used in pr checks (#101957) 2025-03-11 17:28:36 +00:00
.husky
.vim
.vscode Chore: Add vscode ESLint debug target (#98277) 2025-01-24 09:34:32 +00:00
.yarn Update Yarn to v4.6.0 (#98562) 2025-01-07 09:47:36 +00:00
apps Chore: Update to latest go plugin SDK (#101939) 2025-03-11 14:57:19 +00:00
conf Alerting: Select remote write path dependent on metrics backend type. (#101891) 2025-03-11 13:45:16 +01:00
contribute Docs: update contributor/developer-guide for file watchers and heap limit errors (#96197) 2025-02-18 15:03:11 +01:00
cue.mod
devenv Chore: Bump dependencies to address security issues (#101620) 2025-03-06 10:12:05 +01:00
docs SQL Expressions: Add cell-limit for input dataframes (#101700) 2025-03-11 17:14:33 +00:00
e2e Dashboards: Disable flaky import dashboard test in old architecture. (#101282) 2025-02-25 13:44:11 +02:00
emails Auth: Passwordless Login Option Using Magic Links (#95436) 2024-11-14 08:50:55 -05:00
grafana-mixin
hack Chore: Bump dependencies to address security issues (#101620) 2025-03-06 10:12:05 +01:00
kinds Schema V2: Adjust quick_ranges in time settings and remove time_options (#100135) 2025-02-12 19:23:09 +00:00
kindsv2 Use cog as a cli tool to generate code for kinds v2 schemas (#99044) 2025-01-16 13:18:47 +01:00
local
packages Field: Use `Combobox` instead of `Select` in test (#101928) 2025-03-11 16:58:09 +02:00
packaging Packaging: Remove sysvinit references / support from rhel packaging (#97068) 2024-12-02 13:32:21 -06:00
pkg Alerting: Allow disabling provenance in the Prometheus conversion API (#101573) 2025-03-11 19:53:28 +01:00
public Chore: update golang version in .drone.yaml (#101894) 2025-03-11 18:25:52 +01:00
scripts Chore: update golang version in .drone.yaml (#101894) 2025-03-11 18:25:52 +01:00
tools Alerting: Add alertmanager integration tests (#100106) 2025-02-13 11:36:45 +01:00
.betterer.eslint.config.js Chore: Add new `no-translation-top-level` eslint rule (#101550) 2025-03-04 15:42:37 +02:00
.betterer.results Alerting: Improve clarity of recording rule creation (#100700) 2025-03-11 13:13:00 +00:00
.betterer.ts Chore: Sort eslint betterer results by name (#98208) 2025-01-07 14:56:12 +00:00
.bra.toml Playlists: convert to use reconcilers instead (#98075) 2024-12-19 19:09:31 -08:00
.browserslistrc
.dockerignore
.drone.star CI: Remove drone steps for building windows because it's done in grafana-… (#95373) 2024-10-24 17:04:25 -05:00
.drone.yml Chore: update golang version in .drone.yaml (#101894) 2025-03-11 18:25:52 +01:00
.editorconfig
.gitattributes
.gitignore Grafana UI: Expose unstable entrypoint (#97080) 2025-03-04 09:55:41 +01:00
.golangci.yml Chore: Increase golangci-lint timeout to 15min (#100811) 2025-02-18 17:00:30 +01:00
.ignore [Enterprise] Consolidate extensions folders and keep them around (#98486) 2025-02-17 14:00:21 +01:00
.levignore.js
.nvmrc Chore: Update to node 22 (#97779) 2024-12-12 16:39:52 +00:00
.nxignore Alerting/Chore: Mock API (MSW) in browser (#89223) 2024-09-04 10:22:03 +01:00
.pa11yci-pr.conf.js Pa11y: Decrease error thresholds for PRs (#85178) 2024-03-27 12:29:54 +01:00
.pa11yci.conf.js
.prettierignore K8s/Dashboards: Generate Dashboards k8s APIs using Grafana App SDK (#99966) 2025-03-11 13:00:37 +02:00
.prettierrc.js
.trivyignore CI: Add Trivy GitHub Action (#88987) 2024-06-10 16:53:48 -04:00
.vale.ini Lint only Markdown files (#101533) 2025-03-04 11:00:35 +00:00
.yarnrc.yml Chore: Replace `rc-time-picker` with `rc-picker` (#99022) 2025-01-16 15:58:02 +00:00
CHANGELOG.md Release: update changelog for 11.5.2 (#100917) 2025-02-18 17:06:09 -07:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile Chore: Bump Go to 1.23.7 (#101576) 2025-03-05 14:55:36 +01:00
GOVERNANCE.md Сorrection of spelling errors (#83565) 2024-03-01 11:00:15 +01:00
HALL_OF_FAME.md Add Gio to hall of fame (#97326) 2024-12-03 10:25:35 +01:00
LICENSE
LICENSING.md Grafana packages: Remove E2E workspace (#86416) 2024-04-25 07:12:43 +02:00
MAINTAINERS.md Adds johnny as codeowner for alerting docs (#99877) 2025-02-04 13:10:57 +01:00
Makefile Chore: Remove pseudoizer and use i18next-pseudo instead (#101690) 2025-03-10 12:02:31 +00:00
NOTICE.md
README.md Added missing period for consistency and readability (#99549) 2025-01-27 05:20:24 -05:00
ROADMAP.md
SECURITY.md
SUPPORT.md
WORKFLOW.md Minor correction done in WORKFLOW.md (#80505) 2024-04-12 17:56:10 +02:00
build.go K8s: Update from v0.31.3 to v0.32.0 (#98507) 2025-01-06 18:20:35 +03:00
crowdin.yml I18n: Fix path for Crowdin upload (#81733) 2024-02-05 13:33:37 +01:00
cypress.config.js E2E: Add SMTP tester (#88392) 2024-06-18 14:32:19 +02:00
embed.go Core: Remove thema and kindsys dependencies (#84499) 2024-03-21 11:11:29 +01:00
eslint.config.js Chore: add lint rule prevent `t` import from `i18next` (#99761) 2025-01-29 15:46:13 +00:00
go.mod Chore: Update to latest go plugin SDK (#101939) 2025-03-11 14:57:19 +00:00
go.sum Chore: Update to latest go plugin SDK (#101939) 2025-03-11 14:57:19 +00:00
go.work Chore: Bump Go to 1.23.7 (#101576) 2025-03-05 14:55:36 +01:00
go.work.sum Chore: Update to latest go plugin SDK (#101939) 2025-03-11 14:57:19 +00:00
jest.config.js Explore Metrics: Introduce augurs sorting options in breakdown view (#91189) 2024-11-05 08:34:09 +01:00
latest.json Release: Deprecate latest.json and replace with api call to grafana.com (#80537) 2024-01-16 11:19:32 +00:00
lefthook.rc
lefthook.yml Chore: Remove i18n psuedo precommit hook (#86840) 2024-04-24 13:08:19 +02:00
lerna.json Chore: Manually update versions and update `grafana-test-datasource` to "workspace:*" (#99999) 2025-02-03 15:12:05 -07:00
nx.json Build: Nx improvements (#88341) 2024-10-15 14:25:45 +02:00
package.json Scopes: Refactor scopes to plain React and move it to runtime (#97176) 2025-03-11 11:34:33 +01:00
playwright.config.ts Add E2E smoke tests for Jaeger, PostgreSQL, Zipkin (#99515) 2025-01-24 20:21:41 +01:00
project.json Build: Nx improvements (#88341) 2024-10-15 14:25:45 +02:00
stylelint.config.js Update dependency stylelint to v16 (#83252) 2024-02-23 11:56:38 +02:00
tsconfig.json Chore: Fix `yarn generate-apis` command (#97639) 2024-12-09 15:32:01 +02:00
yarn.lock Scopes: Refactor scopes to plain React and move it to runtime (#97176) 2025-03-11 11:34:33 +01:00

README.md

Grafana Logo (Light) Grafana Logo (Dark)

The open-source platform for monitoring and observability

License Drone Go Report Card

Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Create, explore, and share dashboards with your team and foster a data-driven culture:

  • Visualizations: Fast and flexible client side graphs with a multitude of options. Panel plugins offer many different ways to visualize metrics and logs.
  • Dynamic Dashboards: Create dynamic & reusable dashboards with template variables that appear as dropdowns at the top of the dashboard.
  • Explore Metrics: Explore your data through ad-hoc queries and dynamic drilldown. Split view and compare different time ranges, queries and data sources side by side.
  • Explore Logs: Experience the magic of switching from metrics to logs with preserved label filters. Quickly search through all your logs or streaming them live.
  • Alerting: Visually define alert rules for your most important metrics. Grafana will continuously evaluate and send notifications to systems like Slack, PagerDuty, VictorOps, OpsGenie.
  • Mixed Data Sources: Mix different data sources in the same graph! You can specify a data source on a per-query basis. This works for even custom datasources.

Get started

Unsure if Grafana is for you? Watch Grafana in action on play.grafana.org!

Documentation

The Grafana documentation is available at grafana.com/docs.

Contributing

If you're interested in contributing to the Grafana project:

Get involved

This project is tested with BrowserStack.

License

Grafana is distributed under AGPL-3.0-only. For Apache-2.0 exceptions, see LICENSING.md.