Go to file
kay delaney 4eab2ea9d3
Scenes: Implement drag and drop support for SceneCSSGridLayout (#99386)
* Draft: Move css grid stuff to main

* Scenes: Implement drag and drop support for SceneCSSGridLayout

* Fix some nits

* WIP Refactor

* Added a comment

* Add orchestrator to v2schema and fix error (#100964)

* Add orchestrator to v2schema and fix error

* Display placeholder directly when starting to drag

---------

Co-authored-by: kay delaney <kay@grafana.com>

* Fix merge issue

* Fix panel drag offset and remove console.logs

* Fix small nit

* Fix issue where layout options weren't refreshed on changing layout

* Return empty array from useEditPaneOptions if dashboard body isn't LayoutOrchestrator

* Expect layoutOrchestrator when serializing scene

* Fix tests to expect orchestrator instead of layoutManager

* Fix tests in transformSaveModelSchemaV2ToScene.test.ts

* Fix tests in transformSceneToSaveModelSchemaV2.test.ts

* More test fixes

* fix lint issues

* Small fixes

* default to adding layout orchestrator?

* Empty commit

* delete artifactspage.go

* remove artifactspage.tmpl.html

* betterer

* WIP refactor, not ready for review

* Slightly fix placeholder behavior. still broken though

* Fixed some visual glitches. Still very buggy

* Fix layout bugginess when initiating dragging

* more WIP

* Fix some broken logic

* clean up

* Move LayoutOrchestrator to dashboard state

* More cleanup

* Fix misaligned placeholders after changing layout options or resizing browser

* Fix issue with dragging vs selection

* Fix scroll position jumping when dragging in vertically-oriented grid

* Fix import order errors

* Remove '!' from layoutOrchestrator references

* Add LazyLoader support

* Dynamic Dashboards: Responsive Grid drag and drop minor fixes (#102430)

Changes

---------

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com>
2025-03-19 13:53:58 +02: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
.citools CiTools: Bump github.com/expr-lang/expr to silence Dependabot alert (#102358) 2025-03-18 12:34:48 +01:00
.github Chore: Revert Disabling fe-unit-tests github action in release branches (#102361) (#102366) 2025-03-18 14:43:50 +01:00
.husky
.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 Dashboards: Do not throw error if backend cannot migrate schemaVersion to latest (#102357) 2025-03-19 09:57:05 +02:00
conf CloudMigrations: Remove public preview banner (#102354) 2025-03-18 16:21: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 SecretsManager: Add feature toggle (#102420) 2025-03-19 10:25:14 +01:00
e2e GrafanaUI: Mark up or ignore remaining grafana-ui translations (#102203) 2025-03-17 12:27:40 +00:00
emails Auth: Passwordless Login Option Using Magic Links (#95436) 2024-11-14 08:50:55 -05:00
grafana-mixin
hack K8s/Dashboards: Extract Dashboard APIs to an app submodule (#102029) 2025-03-13 11:05:01 +02: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
packages Scenes: Implement drag and drop support for SceneCSSGridLayout (#99386) 2025-03-19 13:53:58 +02:00
packaging Packaging: Remove sysvinit references / support from rhel packaging (#97068) 2024-12-02 13:32:21 -06:00
pkg Spanner-related fixes (#102376) 2025-03-19 12:34:44 +01:00
public Scenes: Implement drag and drop support for SceneCSSGridLayout (#99386) 2025-03-19 13:53:58 +02:00
scripts CI: remove frontend unit test and frontend linting from drone PR/main pipelines (#102221) 2025-03-17 09:41:17 -05: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 Alerting: Add details and edit pages for groups (#100884) 2025-03-18 12:27:53 +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
.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 Chore: Add .cursor to .gitignore (#102166) 2025-03-14 09:19:11 +02: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: Replace bingo-managed tools with go tool directive. (#101890) 2025-03-17 09:48:41 +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 Spanner-related fixes (#102376) 2025-03-19 12:34:44 +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 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 Live: Update centrifuge and remove unreleased "gitops" (#102256) 2025-03-17 18:55:00 +02:00
go.sum Live: Update centrifuge and remove unreleased "gitops" (#102256) 2025-03-17 18:55:00 +02:00
go.work Chore: Replace bingo-managed tools with go tool directive. (#101890) 2025-03-17 09:48:41 +01:00
go.work.sum Live: Update centrifuge and remove unreleased "gitops" (#102256) 2025-03-17 18:55:00 +02: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 Chore: uPlot v1.6.32 (#102149) 2025-03-17 19:35:11 -05: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 Chore: uPlot v1.6.32 (#102149) 2025-03-17 19:35:11 -05: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.