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
Uchechukwu Obasi e7fd41d779
RefreshPicker: make widget accessible (#40570)
* adds better aria-label for run and interval buttons

* enable refreshPicker to be keyboard navigable

* adds support for closing menu using esc key

* Fix: weird behaviour when navigating menu items

* adds focus trapping to refresh picker

* WIP: sanitize time interval values for screen readers to pronounce correctly

* WIP: improve sanitizeLabel function to work for all use cases

* Chore: move label sanitization to refreshPicker component instead

* Chore: add fallback label when ariaLabel prop is not set

* Chore: fix some type errors

* code cleanup

* update tests

* rename function to be more descriptive

* remove unnecessary type casting

* WIP: use cleaner solution

* WIP: use parseDuration util instead

* use more descriptive aria label

* fix: modify parseDuration util to output correct interval unit format

* fix: move interval unit format logic to refreshPicker

* Chore: add back old refreshPicker e2e selectors for backward compatibility

* Fix: improve refresh picker to voice out selected interval option

* Fix: use appropriate aria roles and states to aid screen reader a11y

* Fix: support dropdown expansion using down arrow key

* Chore: use better type construct

* Fix: add support for tab to close menu

* add more context to the deprecation warning message

* Chore: use formatDuration util instead to format interval labels

* Chore: small syntax fix

* chore: syntax fix

* syntax fix

* Chore: add back lockfile
2021-11-10 11:01:06 +01:00
.bingo Makefile: Force use drone-cli 1.4.0 version (#40385) 2021-10-14 16:02:45 +02:00
.circleci Chore: Add Circle CI empty config (#35020) 2021-06-01 11:56:11 +02:00
.github Chore: Update codeowners (#41428) 2021-11-08 11:21:35 -08:00
.husky Chore: bump Husky to v7 (#40797) 2021-11-02 11:53:27 +01:00
.vscode Dev: Add debug jest test to vscode launch (#39905) 2021-10-04 14:26:19 +02:00
.yarn PanelEdit: Show when field options have override rules or data config that overrides the default (#40250) 2021-11-08 13:18:14 +01:00
conf Encryption: Extend secrets service to support registering key providers (#40626) 2021-11-04 19:25:01 +02:00
contribute Update number of files that must be open (#41081) 2021-10-29 12:24:17 +02:00
cue/scuemata Apply cuetsy attrs to PanelSchema (#39112) 2021-09-15 12:27:47 -04:00
cue.mod Introduce "scuemata" system for CUE-based specification of Grafana objects (#32527) 2021-04-08 01:11:11 -07:00
devenv Devenv: Fix fake data gen docker to use same network (#41355) 2021-11-08 19:53:57 +01:00
docs Docs: Update data source provisioning in regards to HTTP specific settings (#40163) 2021-11-08 18:59:21 +01:00
e2e RefreshPicker: make widget accessible (#40570) 2021-11-10 11:01:06 +01:00
emails Alerting: Layout fixes for email template (#40676) 2021-10-22 09:12:37 +02:00
grafana-mixin Update the grafana-mixin to use HTTP histograms (#39155) 2021-10-06 14:15:12 +02:00
packages RefreshPicker: make widget accessible (#40570) 2021-11-10 11:01:06 +01:00
packaging upgrade ncurses in docker image (#41002) 2021-10-27 18:03:09 +02:00
pkg Plugins: Return error from QueryData when plugin is not found (#41494) 2021-11-10 10:39:32 +01:00
plugins-bundled Chore: Switch yarn 2 to plug-n-play strategy (#40300) 2021-10-27 14:21:07 +01:00
public RefreshPicker: make widget accessible (#40570) 2021-11-10 11:01:06 +01:00
scripts Live: move centrifuge service to a web worker (#41090) 2021-11-09 21:05:01 +04:00
tools Image Rendering: Remove PhantomJS support (#23460) 2020-04-15 22:17:41 +02:00
.bra.toml Revert "Bra: Run wire re-gen on code change (#39774)" (#39799) 2021-09-29 17:26:04 +02:00
.browserslistrc Babel: Target more modern browsers, updates browserlistrc (#32573) 2021-04-01 10:32:00 +02:00
.dockerignore Add support for local Makefile to docker (#41296) 2021-11-04 11:13:10 -03:00
.drone.star Chore: Rename scripts/star dir to scripts/drone (#38910) 2021-09-07 12:15:04 +03:00
.drone.yml Chore: Fix broken variable tests (#41472) 2021-11-09 15:06:14 +01:00
.editorconfig Chore: Enable PR testing in Drone (#26189) 2020-07-10 16:09:21 +02:00
.eslintignore Chore: Migrate yarn from v1 to v2 (#39082) 2021-10-08 15:19:10 +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 Chore: Replace Sass-lint with Stylelint (#40617) 2021-10-20 11:34:24 +02:00
.pa11yci-pr.conf.js Chore: lower pa11y-ci thresholds (#39853) 2021-10-01 06:07:55 +02:00
.pa11yci.conf.js Pipeline: Fix flakiness on Pa11y CI (#39358) 2021-09-23 15:02:30 +02:00
.prettierignore Geomap: Minor style fixes (#38532) 2021-08-26 10:17:03 +02:00
.prettierrc.js Prettier: Add prettier config that imports prettier from toolkit (#23729) 2020-04-21 17:23:49 +02:00
.yarnrc.yml Chore: explicitly set nodeLinker in yarnrc (#41089) 2021-10-29 13:32:50 +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 build command to importable package (#38726) 2021-09-03 11:24:21 -05:00
CHANGELOG_ARCHIVE.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
CHANGELOG.md ReleaseNotes: Update release notes for v8.2.3 (#41269) 2021-11-03 15:38:19 +01:00
CODE_OF_CONDUCT.md Docs: Refactor inconsistent unordered lists (#27826) 2020-10-02 11:02:11 -07:00
CONTRIBUTING.md Postgres: For template queries return [] and not error (#38060) 2021-08-19 13:43:41 +02:00
Dockerfile Fix binaries copy step on dockerfile (#41281) 2021-11-04 12:35:32 -03:00
Dockerfile.ubuntu fix the root Dockerfile and add additional .dockerignore rules (#41006) 2021-10-28 09:41:10 -05:00
embed.go Make "dist" version of dashboard scuemata directly importable in CUE (#39251) 2021-09-17 16:17:55 -04:00
go.mod Encryption: Add Azure key vault dependency (#41353) 2021-11-09 19:33:54 +02:00
go.sum Encryption: Add Azure key vault dependency (#41353) 2021-11-09 19:33:54 +02:00
GOVERNANCE.md Update GOVERNANCE.md (#36223) 2021-06-28 17:55:25 +02:00
ISSUE_TRIAGE.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
jest.config.js Chore: Switch yarn 2 to plug-n-play strategy (#40300) 2021-10-27 14:21:07 +01:00
latest.json ReleaseNotes: Update release notes for v8.2.3 (#41269) 2021-11-03 15:38:19 +01:00
lerna.json Chore: Update packages version to 8.2.0-pre (#39335) 2021-09-21 13:08:40 +02:00
LICENSE Re-license Grafana to AGPLv3 (#33184) 2021-04-20 19:03:30 +02:00
LICENSING.md Put vendored code under their upstream licenses explicitly (#36442) 2021-07-05 21:33:01 +02:00
MAINTAINERS.md Docs: Refactor inconsistent unordered lists (#27826) 2020-10-02 11:02:11 -07:00
Makefile Build/CI: Make integration-tests depend on initialize (#40782) 2021-10-21 22:28:57 +02:00
metadata.md Docs: Document plugin authentication in metadata schema (#32703) 2021-04-08 18:13:18 +02:00
NOTICE.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
package.json Live: move centrifuge service to a web worker (#41090) 2021-11-09 21:05:01 +04:00
PLUGIN_DEV.md Chore: Updated the link to the plugin developer guide docs - it used to point to an old version (#40710) 2021-10-25 12:11:44 +04:00
README.md update links in README.md (#33195) 2021-09-21 10:21:27 -04:00
ROADMAP.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
SECURITY.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
stylelint.config.js Chore: Replace Sass-lint with Stylelint (#40617) 2021-10-20 11:34:24 +02:00
SUPPORT.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
tsconfig.json Chore: Enable strict Typescript checks (#41198) 2021-11-02 15:23:44 +00:00
UPGRADING_DEPENDENCIES.md remove GO111MODULE (#36235) 2021-06-29 10:01:21 +02:00
WORKFLOW.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
yarn.lock RefreshPicker: make widget accessible (#40570) 2021-11-10 11:01:06 +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.