Go to file
Galen Kistler ee7348afee
Prometheus: Query builder label filters dropdown UI overload fix (#58266)
* WIP: try to support removing series endpoint for supported clients

* add other filter variables to match param for label values query against filter values, in order to resolve bug in which filter value options would display that aren't relevant in the current query editor context, i.e. options would display that upon select would display no data

* clean up console logs

* refactor and comment

* expanding current unit test coverage to cover calls to new API

* fix unit test

* whitespace

* prettier

* WIP: need to merge in other PR

* WIP giving up and trying again

* WIP: most functionality is working, split out shared loki/prom code

* fix bug in which search results wouldn't take other label context into the query

* Fix bug in which the previously selected value would conflict with the async search

* interpolate the label name string instead of the match promql expression

* remove type assertions

* remove type assertion

* clean up generic confusing types, and add back in a type assertion

* remove generic type

* make sure to interpolate label names

* fix bugs with variables not interpolating before query

* remove debug

* assert partial properties on QueryBuilderLabelFilter

* Force update betterer results :(

* update regex so dropdown UX more closely matches current behavior

* add eslint ignore

* add eslint ignore and update betterer
2022-11-09 14:54:51 -05:00
.bingo Chore: Add jsonnet library for devenv dashboards (#57928) 2022-11-03 11:04:39 -04:00
.changelog-archive
.github Levitate: Only run workflows when the NPM packages change (#58206) 2022-11-08 14:26:31 +01:00
.husky
.vim
.vscode Add VSCode launch configuration to debug in remote Chrome (#58108) 2022-11-03 21:08:38 +07:00
.yarn Update Monthly patch updates (#58002) 2022-11-02 12:05:32 +00:00
conf Echo: Add config option to prevent duplicate page views for GA4 (#57619) 2022-11-09 15:09:19 +01:00
contribute Build: clean up and document integration test convention (#58170) 2022-11-04 10:14:21 -04:00
cue.mod
devenv Chore: Use strings.ReplaceAll and preallocate containers (#58483) 2022-11-09 17:17:09 +01:00
docs adjusts the stem sentence (#58538) 2022-11-09 11:24:29 -06:00
e2e feat(loki-monaco-editor): update e2e test with autocomplete steps (#58455) 2022-11-09 13:37:00 +01:00
emails Alerting: Support values in notification templates (#56457) 2022-10-10 13:40:21 +01:00
grafana-mixin
packages Navigation: Convert `PluginDetails` page to use new `Page` extensions (#58509) 2022-11-09 14:44:38 +00:00
packaging Docker: Remove Edge repos (#53875) 2022-11-02 09:44:39 -04:00
pkg Chore: Retry queries by default in tests (#58535) 2022-11-09 19:56:47 +02:00
plugins-bundled Chore: Update versions (#55813) 2022-09-27 14:07:16 +02:00
public Prometheus: Query builder label filters dropdown UI overload fix (#58266) 2022-11-09 14:54:51 -05:00
scripts AzureMonitor - E2E tests drone update (#57100) 2022-11-08 11:27:54 +01:00
tools
.betterer.results Prometheus: Query builder label filters dropdown UI overload fix (#58266) 2022-11-09 14:54:51 -05:00
.betterer.ts Chore: Ignore type assertions in __mocks__ (#53593) 2022-08-11 14:06:15 +00:00
.bra.toml Chore: Add jsonnet library for devenv dashboards (#57928) 2022-11-03 11:04:39 -04:00
.browserslistrc
.dockerignore
.drone.star CI: Stop publishing OSS images for security mode (#56088) 2022-10-05 09:39:38 +03:00
.drone.yml AzureMonitor - E2E tests drone update (#57100) 2022-11-08 11:27:54 +01:00
.editorconfig
.eslintignore
.eslintrc Scenes: Enforce explicit accessibility modifiers (ESLint) (#58331) 2022-11-07 15:32:02 +01:00
.gitattributes
.gitignore PublicDashboards: Adds command to generate map of supported datasources (#57841) 2022-11-02 13:35:57 -06:00
.golangci.toml Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
.linguirc
.nvmrc
.pa11yci-pr.conf.js Chore: Update footer changelog link to github (#57871) 2022-10-31 07:34:21 -04:00
.pa11yci.conf.js A11y: Add Dashboard Settings to Pa11y CI and Refactor local a11y report (#54476) 2022-09-12 15:14:45 +02:00
.prettierignore Implementing OpenApi 3 specs (converted from Swagger 2) (#53243) 2022-08-04 13:51:12 -03:00
.prettierrc.js
.yarnrc.yml Update Monthly patch updates (#58002) 2022-11-02 12:05:32 +00:00
CHANGELOG.md Changelog: Updated changelog for 8.5.15 (#58467) 2022-11-08 16:32:41 +00:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Docs: Clarify contributions for translations (#55574) 2022-09-27 10:21:23 -04:00
Dockerfile Chore: Upgrade Go to 1.19.3 (#58052) 2022-11-04 14:50:43 +01:00
Dockerfile.ubuntu Chore: Upgrade Go to 1.19.3 (#58052) 2022-11-04 14:50:43 +01:00
GOVERNANCE.md
HALL_OF_FAME.md
ISSUE_TRIAGE.md
LICENSE
LICENSING.md Relicense Tempo datasource plugin to Apache 2 (#55866) 2022-09-27 20:53:11 +02:00
MAINTAINERS.md
Makefile Chore: Add jsonnet library for devenv dashboards (#57928) 2022-11-03 11:04:39 -04:00
NOTICE.md
PLUGIN_DEV.md
README.md
ROADMAP.md
SECURITY.md
SUPPORT.md
UPGRADING_DEPENDENCIES.md
WORKFLOW.md
babel.config.json
build.go
crowdin.yml I18n: Update crowdin config and codeowners (#57264) 2022-10-20 14:59:02 +01:00
embed.go plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
go.mod Prometheus: Upgrades http client to v1.13.1 (#58363) 2022-11-08 08:35:05 +01:00
go.sum Prometheus: Upgrades http client to v1.13.1 (#58363) 2022-11-08 08:35:05 +01:00
jest.config.js I18n: Migrate to I18next (#55845) 2022-10-06 16:34:04 +01:00
latest.json Chore: update latest.json to 9.2.4 (#58433) 2022-11-08 09:26:32 -05:00
lerna.json Chore: Update versions (#55813) 2022-09-27 14:07:16 +02:00
metadata.md
package.json Chore: Switch Grafana to using faro libraries (#58186) 2022-11-08 10:36:27 +01:00
stylelint.config.js
tsconfig.json
yarn.lock Chore: Switch Grafana to using faro libraries (#58186) 2022-11-08 10:36:27 +01:00

README.md

Grafana

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

License

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