Go to file
Mariell Hoversholm f7b9f1ce69
Unified Storage: Return an already exists error (#102857)
* Unified Storage: Return an already exists error

When inserting a resource that already exists (i.e. race condition), we can safely catch UNIQUE constraint violations
and transform them into a `k8s.io/apimachinery/pkg/api/errors` error that stands the test of `errors.IsAlreadyExists`.

* feat: clarify existing conflict error

* chore: make update-workspace

* feat: make new package for backend error

* fix: assign dependency owner

* feat: use dialect for checking error type

* chore: go generate

* revert: to 5af369166d
2025-03-26 14:44:44 +01:00
.bingo Chore: Cleanup bwplotka/bingo managed tools (#102583) 2025-03-24 11:11:13 +01:00
.changelog-archive Chore: Archive v8,9, and 10 CHANGELOG content (#97448) 2024-12-05 16:09:38 -07:00
.citools Add Makefile targets for generating dashboard app code and update it to SDK v0.35.0 (#102796) 2025-03-26 10:49:52 +02:00
.github Adds `alerting-team[bot]` to exclude list for pr-external label (#102564) 2025-03-26 09:29:52 -04:00
.husky Chore: Remove colours from old husky cleanup pre-commit hook (#73395) 2023-08-18 13:10:18 +00:00
.vim
.vscode improve the debugging experience (#101779) 2025-03-13 11:10:07 +01:00
.yarn Update Yarn to v4.6.0 (#98562) 2025-01-07 09:47:36 +00:00
apps Dynamic dashboards: Add missing row props to schema (#102859) 2025-03-26 14:49:28 +02:00
conf AppPlatform: Introduce experimental Github integration for dashboard configuration management (#96329) 2025-03-25 08:59:03 +01:00
contribute Docs: Fix broken dependency documentation (#101631) 2025-03-20 16:31:29 +01:00
cue.mod
devenv TraceView: Render all links in span details (#101881) 2025-03-26 11:39:45 +01:00
docs Alerting: Make $value return the query value in case when a single datasource is used (#102301) 2025-03-26 10:31:38 +01:00
e2e Dashboard: Add unconfigured panel state to new panels (#102719) 2025-03-26 13:34:37 +01:00
emails Auth: Passwordless Login Option Using Magic Links (#95436) 2024-11-14 08:50:55 -05:00
grafana-mixin DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879) 2023-08-28 12:18:17 +02:00
hack Chore: Update remaining gomod and containers to use Go 1.24.1 (#102794) 2025-03-25 15:23:29 +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 Chore: Replace bingo-managed tools with go tool directive. (#101890) 2025-03-17 09:48:41 +01:00
local Packaging: Dockerfile copy local folder (#64766) 2023-03-14 14:44:11 -05:00
packages Dynamic dashboards: Add missing row props to schema (#102859) 2025-03-26 14:49:28 +02:00
packaging Packaging: Remove sysvinit references / support from rhel packaging (#97068) 2024-12-02 13:32:21 -06:00
pkg Unified Storage: Return an already exists error (#102857) 2025-03-26 14:44:44 +01:00
public Dashboard: Fixes issue switching layouts (#102884) 2025-03-26 13:56:30 +01:00
scripts Chore: Update remaining gomod and containers to use Go 1.24.1 (#102794) 2025-03-25 15:23:29 +01:00
tools Alerting: Add alertmanager integration tests (#100106) 2025-02-13 11:36:45 +01:00
.betterer.eslint.config.js Chore: Add heuristic approach to fixing untranslated text with eslint rule (#101561) 2025-03-13 13:17:05 +00:00
.betterer.results TraceView: Render all links in span details (#101881) 2025-03-26 11:39:45 +01:00
.betterer.ts Chore: Sort eslint betterer results by name (#98208) 2025-01-07 14:56:12 +00:00
.bra.toml Chore: Prevent `make run` from printing all environment variables (#101924) 2025-03-13 08:59:09 +01:00
.browserslistrc
.dockerignore copy .github folder into golang build container since we rely on codeowners (#62122) 2023-01-25 10:31:16 -05:00
.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 CI: remove frontend unit test and frontend linting from drone PR/main pipelines (#102221) 2025-03-17 09:41:17 -05:00
.editorconfig
.gitattributes
.gitignore AppPlatform: Introduce experimental Github integration for dashboard configuration management (#96329) 2025-03-25 08:59:03 +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 Adds levitate levignore configuration file to prevent breaking change notifications from expected typescript symbols (#74371) 2023-09-05 15:00:13 +02:00
.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 Login: Improve accessibility of Login form (#78652) 2023-11-28 10:22:20 +00:00
.prettierignore Chore: Cleanup bwplotka/bingo managed tools (#102583) 2025-03-24 11:11:13 +01:00
.prettierrc.js Toolkit: Remove deprecated `plugin:build` (#67485) 2023-04-28 14:33:16 +02:00
.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.6.0 (#102834) 2025-03-25 18:00:39 -05:00
CODE_OF_CONDUCT.md Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
CONTRIBUTING.md Docs: Fix link to developing plugins (#75816) 2023-10-03 09:57:53 -05:00
Dockerfile Fix: Fixing typo in Dockerfile preventing successful build of the docker image (#102875) 2025-03-26 14:06:16 +01:00
GOVERNANCE.md Сorrection of spelling errors (#83565) 2024-03-01 11:00:15 +01:00
HALL_OF_FAME.md Update HALL_OF_FAME.md (#102267) 2025-03-17 08:25:02 +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 Add Makefile targets for generating dashboard app code and update it to SDK v0.35.0 (#102796) 2025-03-26 10:49:52 +02: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 Docs: Update SECURITY.md (#67985) 2023-06-21 07:34:42 +01:00
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 eslint rule for empty files and tidy up (#102288) 2025-03-17 14:54:12 +02:00
go.mod Unified Storage: Return an already exists error (#102857) 2025-03-26 14:44:44 +01:00
go.sum SQL Expressions: Bump go-mysql-server version (#102866) 2025-03-26 12:50:20 +00:00
go.work Chore: Remove drone from go managed tools (#102529) 2025-03-24 11:10:57 +01:00
go.work.sum SQL Expressions: Bump go-mysql-server version (#102866) 2025-03-26 12:50:20 +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 Chore: Replace Husky/Lint-staged with Lefthook (#66608) 2023-08-17 09:56:52 +00:00
lefthook.yml Chore: Remove i18n psuedo precommit hook (#86840) 2024-04-24 13:08:19 +02:00
lerna.json Chore: Bump version of front-end modules to 12.0.0-pre (#102615) 2025-03-21 17:35:55 +02:00
nx.json Build: Nx improvements (#88341) 2024-10-15 14:25:45 +02:00
package.json Update dependency @grafana/plugin-ui to v0.10.4 (#101459) 2025-03-26 08:33:00 +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 Update dependency @grafana/plugin-ui to v0.10.4 (#101459) 2025-03-26 08:33:00 +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.