Go to file
Brendan O'Handley 639bf3036d
Prometheus: Add e2e tests for decoupling (#80333)
* update selectors for prom

* add selector to switch component, needs id instead of testid

* add testid and ids to Prom settings

* add e2e tests for prom config

* add config to editor test

* export select function

* start query editor spec

* clean up describe

* add selectors for general query editor

* add selectors to components in options in best locations

* wrap header switch in id because component doesn't accept testid nor id

* add id to wrap legend components in one selector

* update selector in shared folder component, note to change in shared library

* update selector in shared folder component, note to change in shared library

* add notes for selectors in shared folder

* add tests and file for query editor

* add selectors for metrics browser in code editor

* add selector to component to open metrics browser

* add selectors to components within the metrics browser

* add tests for metrics browser and stub resource calls

* add selectors to query builder components

* add e2e tests for query builder

* generic query builder test with hints

* add selectors for more code editor parts

* add test for code and update selector

* fix tests with selector

* remove shared folder changes and use data-testid where possible

* remove unused import

* share getResources

* create variable query editor selectors

* add selectors to the variable query editor

* add e2e tests for the Prometheus variable query editor

* fix test function

* refactor add data source method

* add annotation selectors

* add selectors to annotation components

* add annotation e2e tests

* commit for yarn i18n:extract error in drone
2024-01-22 08:42:24 -06:00
.bingo Chore: Fix bingo variables for Windows (#73830) 2023-10-27 15:28:41 +02:00
.changelog-archive Docs: Remove old plugin docs, fix URLs to go to new dev portal (#75325) 2023-09-29 07:43:48 +01:00
.github Add grafana-o11y-ds-frontend workspace package (#80362) 2024-01-22 13:47:50 +01:00
.husky
.vim
.vscode K8s: add the CRD server to the grafana-aggregator component (pkg/cmd) (#80759) 2024-01-17 12:21:24 -08:00
.yarn Update dependency eslint to v8.56.0 (#80825) 2024-01-18 18:52:04 +02:00
conf Release: Deprecate latest.json and replace with api call to grafana.com (#80537) 2024-01-16 11:19:32 +00:00
contribute Docs: Update to US English per Writers Toolkit, plus clean up some grammar (#76298) 2024-01-05 16:40:11 +00:00
cue.mod
devenv Alerting: Use mimir:r274-1780c50 in CI (#80985) 2024-01-22 16:25:50 +02:00
docs Tempo: Remove profiling toggles (#80792) 2024-01-22 14:21:14 +00:00
e2e Prometheus: Add e2e tests for decoupling (#80333) 2024-01-22 08:42:24 -06:00
emails Alerting: Do not show grouping when grouplabels are empty in email template (#74090) 2023-08-30 13:02:23 +02:00
grafana-mixin
hack K8s/FeatureFlags: Add an apiserver to manage feature flags (dev only) (#80501) 2024-01-17 21:32:44 -08:00
kinds GeneralSettings: Enable support for nowDelay (#79703) 2024-01-11 17:53:06 +01:00
local
packages Prometheus: Add e2e tests for decoupling (#80333) 2024-01-22 08:42:24 -06:00
packaging Packaging: Use the GRAFANA_HOME variable in postinst script on Debian (#80853) 2024-01-19 18:10:40 -05:00
pkg Datasources: Add wireset for datasource.DataSourceAPIBuilder (#80914) 2024-01-22 15:21:27 +01:00
plugins-bundled Webpack: Update bundled plugins SWC baseUrl (#80882) 2024-01-19 14:18:14 +01:00
public Prometheus: Add e2e tests for decoupling (#80333) 2024-01-22 08:42:24 -06:00
scripts Alerting: Use mimir:r274-1780c50 in CI (#80985) 2024-01-22 16:25:50 +02:00
tools
.betterer.results Add grafana-o11y-ds-frontend workspace package (#80362) 2024-01-22 13:47:50 +01:00
.betterer.ts Betterer: Add our own regexp matcher (#79448) 2023-12-15 12:12:56 +02:00
.bra.toml Make: Add `make gen-go` to initcmds in .bra (#80880) 2024-01-19 12:49:58 +00:00
.browserslistrc
.codespellignore docs: what's new, add traces and k6 integration (#75401) 2023-10-04 12:04:48 -04:00
.dockerignore
.drone.star Chore: Upgrade Go to 1.21.5 (#79329) 2023-12-15 10:36:49 +01:00
.drone.yml Alerting: Use mimir:r274-1780c50 in CI (#80985) 2024-01-22 16:25:50 +02:00
.editorconfig
.eslintignore
.eslintrc Pyroscope: Add standalone build (#80222) 2024-01-16 12:46:15 +00:00
.gitattributes
.gitignore K8s: fix standalone command and add hack scripts (#79052) 2023-12-05 14:31:49 -08:00
.golangci.toml Pyroscope: Add standalone build (#80222) 2024-01-16 12:46:15 +00: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 20 (#76097) 2023-10-26 09:34:50 +02:00
.pa11yci-pr.conf.js Chore: Remove core-js polyfills (#78715) 2023-11-29 11:12:23 -06:00
.pa11yci.conf.js Login: Improve accessibility of Login form (#78652) 2023-11-28 10:22:20 +00:00
.prettierignore Chore: Split OSS and Enterprise OAPI Spec Generation (#75133) 2023-09-25 15:34:57 -04:00
.prettierrc.js
.yarnrc.yml Update Moveable (#73726) 2024-01-17 12:00:41 -08:00
CHANGELOG.md Doc: fix remove link to enterprise issue for datasource permission breaking change changelog for 10.2.3 (#80030) 2024-01-04 17:37:03 +01:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Docs: Fix link to developing plugins (#75816) 2023-10-03 09:57:53 -05:00
Dockerfile Revert "bumping go to 1.25.6" 2024-01-17 11:40:25 +01:00
GOVERNANCE.md
HALL_OF_FAME.md
ISSUE_TRIAGE.md Docs: Update triage guide re feature requests (#73974) 2023-08-31 11:30:39 +02:00
LICENSE
LICENSING.md Plugins: Remove deprecated grafana-toolkit (#73489) 2023-09-05 09:56:04 +02:00
MAINTAINERS.md Update codeowners (#73159) 2023-09-28 11:31:26 -07:00
Makefile Revert "bumping go to 1.25.6" 2024-01-17 11:40:25 +01:00
NOTICE.md
README.md Docs: Invert logo color for dark theme in README (#76012) 2023-11-07 09:54:12 +00:00
ROADMAP.md
SECURITY.md
SUPPORT.md
UPGRADING_DEPENDENCIES.md
WORKFLOW.md Docs: Update contrib documentation around backports (#73558) 2023-08-30 08:14:15 +02:00
build.go
crowdin.yml Remove mandatory backport checks (#78678) 2023-11-28 14:03:32 +00:00
cypress.config.js Chore: Remove `compareScreenshot` + `blink-diff` dependency from core (#77920) 2023-11-09 13:18:12 +00:00
embed.go
go.mod Security: Fix vulnerability GHSA-9763-4f94-gfch (#80952) 2024-01-22 15:13:31 +01:00
go.sum Security: Fix vulnerability GHSA-9763-4f94-gfch (#80952) 2024-01-22 15:13:31 +01:00
jest.config.js Explore: use numeric ids for panel ids when building query transactions (#80135) 2024-01-12 14:05:46 +00: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
lerna.json Release: Bump version to 10.4.0-pre (#80412) 2024-01-12 10:21:50 +01:00
metadata.md
package.json Update dependency html-webpack-plugin to v5.6.0 (#80973) 2024-01-22 13:01:45 +00:00
stylelint.config.js
tsconfig.json Build testdata frontend standalone (#75833) 2023-10-16 17:31:43 +02:00
yarn.lock Update dependency ts-node to v10.9.2 (#80989) 2024-01-22 16:30:21 +02: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.