Go to file
Yuri Tseretyan ac77bc7cbb
[release-11.6.1] Alertmanager: Add Role-Based Access Control via reqAction Field (#103479)
Alertmanager: Add Role-Based Access Control via reqAction Field (#101543)

* Add reqAction for alert manager routes
* Add endpoints from Prometheus Alertmanager API
* use notifications reader for alertmanager/api/v2/status
* use viewer for GET api/v1/alerts
* add POST DELETE for api/v1/alerts
* duplicate paths to cover upstream Alertmanager
* add fallback rule to catch all GET
* Update reqAction for GET api/v1/alerts
* require Admin for all wildcard paths

---------

Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
(cherry picked from commit ac7ad27867)

Co-authored-by: Oleg Yevik <olegyevik@canva.com>
2025-04-04 22:48:12 +03: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: Move code verification to proper workflow (#101742) 2025-03-07 13:13:40 -07: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 JWT library (CVE-2025-30204) (#102727) 2025-03-24 19:19:52 +01:00
conf Alerting: Allow selection of recording rule write target on per-rule basis. (#101778) 2025-03-07 14:30:40 +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 [release-11.6.1] Docs: candlestick visualization refactor (#103423) 2025-04-03 18:30:01 -04:00
e2e Release: 11.6.0 (#102837) 2025-03-25 14:09:54 -08: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 [release-11.6.1] Dashboards: Fix time range bug when use_browser_locale is enabled 2 (#103108) 2025-03-31 08:37:39 -06:00
packaging Packaging: Remove sysvinit references / support from rhel packaging (#97068) 2024-12-02 13:32:21 -06:00
pkg [release-11.6.1] unistore: use the same connection string as grafana (#103089) 2025-03-31 16:10:49 +02:00
public [release-11.6.1] Alertmanager: Add Role-Based Access Control via reqAction Field (#103479) 2025-04-04 22:48:12 +03:00
scripts Docs: Add dashboard variables content (#101733) 2025-03-07 09:55:39 -05: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 i18n: Marking up Pagination and PageToolbar in Grafana-UI for translation (#101738) 2025-03-07 11:12:07 -05: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: Bump Go to 1.23.7 (#101576) 2025-03-05 14:55:36 +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
.pa11yci.conf.js
.prettierignore Alerting/Chore: Mock API (MSW) in browser (#89223) 2024-09-04 10:22:03 +01: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: 11.6.0 (#102837) 2025-03-25 14:09:54 -08: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
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 CI: Report to bench (#101686) 2025-03-07 11:07:56 +01: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
build.go K8s: Update from v0.31.3 to v0.32.0 (#98507) 2025-01-06 18:20:35 +03:00
crowdin.yml
cypress.config.js E2E: Add SMTP tester (#88392) 2024-06-18 14:32:19 +02:00
embed.go
eslint.config.js Chore: add lint rule prevent `t` import from `i18next` (#99761) 2025-01-29 15:46:13 +00:00
go.mod [release-11.6.1] Dependencies: Bump github.com/redis/go-redis/v9 to 9.7.3 to address CVE-2025-29923 (#102863) 2025-03-26 10:53:50 +01:00
go.sum [release-11.6.1] Dependencies: Bump github.com/redis/go-redis/v9 to 9.7.3 to address CVE-2025-29923 (#102863) 2025-03-26 10:53:50 +01:00
go.work [v11.6] App Platform: Pin bleve to fix CVE-2022-31022 (#102531) 2025-03-20 14:19:44 +01:00
go.work.sum [release-11.6.1] Dependencies: Bump github.com/redis/go-redis/v9 to 9.7.3 to address CVE-2025-29923 (#102863) 2025-03-26 10:53:50 +01:00
jest.config.js Explore Metrics: Introduce augurs sorting options in breakdown view (#91189) 2024-11-05 08:34:09 +01:00
latest.json
lefthook.rc
lefthook.yml Chore: Remove i18n psuedo precommit hook (#86840) 2024-04-24 13:08:19 +02:00
lerna.json Release: 11.6.0 (#102837) 2025-03-25 14:09:54 -08:00
nx.json Build: Nx improvements (#88341) 2024-10-15 14:25:45 +02:00
package.json [release-11.6.1] Dashboards: update `@grafana/llm` to v0.13.2 and update usage (#102877) 2025-03-26 11:56:53 +00: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
tsconfig.json Chore: Fix `yarn generate-apis` command (#97639) 2024-12-09 15:32:01 +02:00
yarn.lock [release-11.6.1] Dashboards: update `@grafana/llm` to v0.13.2 and update usage (#102877) 2025-03-26 11:56:53 +00: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.