The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Go to file
Marcus Andersson 2aa1a051f0
Alerting: visualizing data when creating/editing alerting rule. (#34191)
* VizWrapper to handle some state

* alertingqueryrunner first edition

* added so we always set name and uid when changing datasource.

* wip.

* wip

* added support for canceling requests.

* util for getting time ranges for expression queries

* remove logs, store data in state

* merge from run branch

* incremental commit

* viz working

* added structure for marble testing.

* paddings and move viz picker

* less height for viz, less width on rows

* change so the expression buttons doesnt submit form.

* fixed run button.

* replaced mocks with implementation that will set default query + expression.

* merge with run queries

* fixed so we set a datasource name for the default expression rule.

* improving expression guard.

* lots of styling fixes for viz

* adding placeholder for relative time range.

* fixed story.

* added basic structure to handle open/close of time range picker.

* removed section from TimeOptions since it isn't used any where.

* adding mapper and tests

* move relativetimepicker to its own dir

* added some simple tests.

* changed test.

* use relativetimerangeinput

* redo state management

* refactored the tests.

* replace timerange with relativetimerange

* wip

* wip

* did some refactoring.

* refactored time option formatting.

* added proper formatting and display of time range.

* add relative time description, slight refactor of height

* fixed incorrect import.

* added validator and changed formatting.

* removed unused dep.

* reverted back to internal function.

* fixed display of relative time range picker.

* fixed failing tests.

* fixed parsing issue.

* fixed position of time range picker.

* some more refactorings.

* fixed validation of really big values.

* added another test.

* restored the step2 check.

* fixed merge issue.

* Update packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButtonGroup.tsx

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>

* reverted change.

* fixed merge conflict.

* fixed todo.

* sort some paddings

* replace theme with theme2

Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-05-18 16:16:26 +02:00
.circleci Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
.github Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
conf CSP: Allow all image sources by default (#34265) 2021-05-18 13:41:55 +02:00
contribute Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
cue frontend for trim/apply defaults and some bug fixing (#33561) 2021-05-04 15:03:42 +08:00
cue.mod Introduce "scuemata" system for CUE-based specification of Grafana objects (#32527) 2021-04-08 01:11:11 -07:00
devenv Timeline: split "periodic" mode into its own panel (#34171) 2021-05-17 13:00:04 -07:00
docs Updated relref to "Configuring exemplars" section (#34240) 2021-05-17 14:48:15 -04:00
e2e Add e2e test for exemplars flow (#33972) 2021-05-13 14:17:09 +02:00
emails Update email template for AlertingNG (#32691) 2021-04-07 14:52:48 +05:30
grafana-mixin reduce severity level to warning (#28939) 2020-11-20 10:30:51 +01:00
packages Alerting: visualizing data when creating/editing alerting rule. (#34191) 2021-05-18 16:16:26 +02:00
packaging [GH-33898] Add missing --no-cache to Dockerfile. (#33906) 2021-05-11 15:45:08 +02:00
pkg Plugins: Fix Azure token provider cache panic and auth param nil value (#34252) 2021-05-18 15:36:58 +02:00
plugins-bundled Plugins: Remove Apache licenses from bundled plugins (#34214) 2021-05-18 15:51:33 +02:00
public Alerting: visualizing data when creating/editing alerting rule. (#34191) 2021-05-18 16:16:26 +02:00
scripts NodeGraph: Exploration mode (#33623) 2021-05-12 16:04:21 +02:00
tools Image Rendering: Remove PhantomJS support (#23460) 2020-04-15 22:17:41 +02:00
.bra.toml Chore: Upgrade to Go 1.14 (#23371) 2020-04-08 14:13:05 +02:00
.browserslistrc Babel: Target more modern browsers, updates browserlistrc (#32573) 2021-04-01 10:32:00 +02:00
.dockerignore remove duplicated /tmp entry in .dockerignore 2018-08-09 09:10:53 +02:00
.drone.star Enterprise changes to the Drone pipelines (#33773) 2021-05-12 15:30:05 +02:00
.drone.yml Enterprise changes to the Drone pipelines (#33773) 2021-05-12 15:30:05 +02:00
.editorconfig Chore: Enable PR testing in Drone (#26189) 2020-07-10 16:09:21 +02:00
.eslintignore Chore: Lint all files for no-only-tests (#30364) 2021-01-19 11:06:27 +01:00
.eslintrc Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
.gitattributes CRLF (#28822) 2020-11-05 17:20:40 +01:00
.gitignore gitignore: Ignore files for accesscontrol provisioning (#33577) 2021-04-30 17:24:16 +02:00
.prettierignore Theming: Updates to select styles and theme model progress (#32797) 2021-04-12 14:23:00 +02:00
.prettierrc.js Prettier: Add prettier config that imports prettier from toolkit (#23729) 2020-04-21 17:23:49 +02:00
api-extractor.json Docs: added code comments for everything in the @grafana/runtime package. (#23456) 2020-04-15 10:46:51 +02:00
build.go Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
CHANGELOG_ARCHIVE.md Automation: Adds new changelog actions (#29142) 2020-11-16 21:34:19 +01:00
CHANGELOG.md ReleaseNotes: Updated changelog and release notes for 8.0.0-beta1 (#34042) 2021-05-13 15:08:14 +02:00
CODE_OF_CONDUCT.md Docs: Refactor inconsistent unordered lists (#27826) 2020-10-02 11:02:11 -07:00
CONTRIBUTING.md Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
Dockerfile Fix dockerfiles to use embed.go and Go 1.16 (#33643) 2021-05-04 09:43:12 +02:00
Dockerfile.ubuntu Fix dockerfiles to use embed.go and Go 1.16 (#33643) 2021-05-04 09:43:12 +02:00
embed.go Introduce "scuemata" system for CUE-based specification of Grafana objects (#32527) 2021-04-08 01:11:11 -07:00
go.mod Plugins: Fix Azure token provider cache panic and auth param nil value (#34252) 2021-05-18 15:36:58 +02:00
go.sum Plugins: Fix Azure token provider cache panic and auth param nil value (#34252) 2021-05-18 15:36:58 +02:00
GOVERNANCE.md Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
ISSUE_TRIAGE.md Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
jest.config.js Icons: fix iconRoot url (#33243) 2021-04-23 09:06:19 +02:00
latest.json Update latest.json (#34060) 2021-05-13 15:44:44 +02:00
lerna.json Update packages version (#34064) 2021-05-13 16:02:18 +02:00
LICENSE Re-license Grafana to AGPLv3 (#33184) 2021-04-20 19:03:30 +02:00
LICENSING.md Plugins: Remove Apache licenses from bundled plugins (#34214) 2021-05-18 15:51:33 +02:00
MAINTAINERS.md Docs: Refactor inconsistent unordered lists (#27826) 2020-10-02 11:02:11 -07:00
Makefile Chore: Remove Revive standalone linter - use it via golangci-lint (#33150) 2021-04-20 16:51:08 +02:00
metadata.md Docs: Document plugin authentication in metadata schema (#32703) 2021-04-08 18:13:18 +02:00
NOTICE.md Update NOTICE.md 2021-01-06 08:16:50 +01:00
package.json Chore: Remove md5 dependency and use uuid/v5 instead (#34192) 2021-05-18 13:42:57 +01:00
PLUGIN_DEV.md Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
README.md 33507_drone_badge: Replace CircleCI badge in readme with drone badge (#33649) 2021-05-04 17:59:52 +08:00
ROADMAP.md Update ROADMAP.md (#19384) 2019-09-25 07:18:35 +02:00
SECURITY.md Docs: Fix broken link (#25664) 2020-06-18 14:08:26 +02:00
SUPPORT.md Update SUPPORT.md (#19383) 2019-09-25 07:17:01 +02:00
tsconfig.json Tests: Adds expects for observables (#28929) 2020-11-18 15:18:55 +01:00
UPGRADING_DEPENDENCIES.md Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
WORKFLOW.md Chore: Move from master to main branch (#33693) 2021-05-06 16:29:29 +02:00
yarn.lock Chore: Remove md5 dependency and use uuid/v5 instead (#34192) 2021-05-18 13:42:57 +01:00

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:

  • Visualize: 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.