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
Lukas Siatka df48d1c19f
Explore: Adds Loki explore query editor (#21497)
* Explore: updates grafana-data explore query field props with explore mode

* Explore: updates query row to pass down explore mode to query fields

* Explore: adds LokiExploreQueryEditor

* Explore: updates loki query field form to render children

* Explore: adds loki explore extra field component

* Explore: adds extra field element to loki query field form

* Explore: updates loki explore query editor to use extra field element

* Explore: moves ExploreMode to grafana-data

* Explore: updates query row limit string

* Explore: adds maxLines to DataQuery

* Explore: adds maxLines to loki datasource runRangeQueryWithFallback

* Explore: adds onChangeQueryLimit to LokiExploreQueryEditor

* Explore: updates loki explore query editor to render extra field only in logs mode

* Explore: fixes query limits for live and legacy queries

* Explore: fixes result processor max lines limit in get logs result

* Explore: fixes Loki datasource limit test

* Explore: removes unnecessary ExploreMode from Loki language provider

* Explore: fixes formatting

* Explore: updates grafana-data datasource types - replaces strings with explore mode enum

* Explore: updates loki explore query field props to take ReactNode

* Explore: updates the way we calculate loki query lines limit to fall back to 0 lines on negative or invalid input instead of datasource maxLines

* Explore: updates result processor get logs result method to avoid counting invalid/negative line limits

* Explore: updates loki result transformer to process only an appropriate slice of a result instead of an entire one

* Explore: adds a method for query limit preprocessing/mapping

* Explore: updates loki datasource run range query with fallback method to use options.maxDataPoints in dashboards

* Explore: removes unnecessary maxlineslimt from getLogsResult in resultProcessor

* Explore: moves line limit to metadata

* Explore: adds an ability to specify input type of extra field

* Explore: updates LokiExploreQueryEditor - adds an input type

* Explore: updates LokiExploreQueryEditor to run queries when maxLines is positive

* Explore: fixes failing import of ExploreMode

* Explore: fixes reducers test imports formatting

* Explore: updates Loki extra field with min value set to 0

* Explore: exports LokiExploreExtraFieldProps

* Explore: adds render test of LokiExploreQueryEditor

* Explore: adds LokiExploreQueryEditor snapshot

* Explore: updates LokiExploreQueryEditor onChangeQueryLimit method to prevent it from running when query input is empty - fixes cheatsheet display issue

* Explore: updates Loki editor snapshots

* Explore: fixes typo in test set name in LokiExploreQueryEditor

* Explore: adds a render test of LokiExploreExtraField

* Explore: fixes typo in LokiExploreQueryEditor

* Explore: updates LokiExploreQueryEditor snapshot due to timezone issues

* Explore: updates LokiExploreExtraField to export both functional component and a version using memo

* Explore: updates LokiExploreQueryEditor to export both functional component and memoized function

* Explore: updates LokiExploreQueryEditor - removes unnecessary react fragment

* Explore: updates LokiExploreQueryEditor snapshot

* Explore: adds LokiExploreQueryEditor tests for different explore mode cases

* Explore: fixes Loki datasource and result transformer

* Explore: updates LokiExploreQueryEditor snapshot

* Explore: updates LokiExploreQueryEditor tests and test setup

* Explore: updates LokiExploreQueryEditor - refactors component

* Explore: updates LokiExploreQueryEditor to use default import from LokiExploreExtraField

* Explore: updates LokiExploreQueryEditor snapshot

* Explore: fixes formatting

* Explore: updates LokiExploreQueryEditor max lines change

* Explore: updates LokiExploreQueryEditor tests checking ExtraFieldElement

* Explore: adds mock loki datasource to LokiExploreQueryEditor

* Explore: updates LokiExploreQueryEditor test mock - adds language provider

* Explore: updates LokiExploreQueryEditor snapshot

* Explore: updates Loki ResultTransformer to filter out rows on limit - logic to be moved into a component with new form styles

* Explore: updates LokiExploreQueryEditor tests
2020-02-06 12:34:52 +00:00
.circleci Publish from new master pipeline (#21813) 2020-02-05 12:22:13 +01:00
.github Update CODEOWNERS (#21093) 2019-12-13 11:16:22 -08:00
conf Add disabled option for cookie samesite attribute (#21472) 2020-01-14 17:41:54 +01:00
contribute Fix typos in the communication documentation (#21774) 2020-01-28 09:26:59 +01:00
devenv Annotations: Change indices and rewrites annotation find query to improve database query performance (#21915) 2020-02-05 16:52:41 +01:00
docs Docs: Documentation for 6.6 Explore and Logs panel features (#21754) 2020-02-05 22:01:34 +01:00
emails Emails: Update notification templates (#19662) 2019-10-31 10:33:33 -07:00
packages Explore: Adds Loki explore query editor (#21497) 2020-02-06 12:34:52 +00:00
packaging Docker: change plugin path in custom docker (#21837) 2020-01-30 11:17:41 -08:00
pkg Quota: Makes sure we provide the request context to the quota service (#21949) 2020-02-06 08:49:58 +02:00
public Explore: Adds Loki explore query editor (#21497) 2020-02-06 12:34:52 +00:00
scripts Replace ts-loader with Babel (#21587) 2020-01-30 10:54:11 +01:00
tools/phantomjs Update render.js 2018-09-22 00:54:56 +03:00
vendor Backend plugins: Implement support for resources (#21805) 2020-01-31 11:15:50 +01:00
.babelrc Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements (#18544) 2019-09-03 09:29:02 +01:00
.bra.toml Fail when server is unable to bind port (#20409) 2019-11-18 09:49:08 +01:00
.browserslistrc Fix: Autoprefixer is now working (#16351) 2019-04-02 18:15:30 +02:00
.dockerignore remove duplicated /tmp entry in .dockerignore 2018-08-09 09:10:53 +02:00
.editorconfig Chore: Implement revive (#16200) 2019-03-27 17:53:49 +01:00
.gitignore Build: Ignore content of /pkg/extensions, not directory (#21540) 2020-01-16 14:29:48 +01:00
.prettierignore Updated prettierignore 2019-03-08 13:56:21 +01:00
build.go Docker: Build and use musl-based binaries in alpine images to resolve glibc incompatibility issues (#19798) 2019-10-24 14:34:14 +02:00
CHANGELOG.md Docs: Updates Changelog for 6.6.0 (#21753) 2020-01-27 15:10:32 +01:00
CODE_OF_CONDUCT.md Spelling/grammar fixes in top level markdown files 2019-01-28 15:58:32 +00:00
CONTRIBUTING.md Docs: Clean up contribute docs (#19716) 2019-10-22 16:23:46 +02:00
Dockerfile DevEnv: updates nodejs from 10.x to 12.x and golang to 1.13 in ci-deploy dockerfile. (#20405) 2019-11-21 15:16:32 +01:00
Dockerfile.ubuntu DevEnv: updates nodejs from 10.x to 12.x and golang to 1.13 in ci-deploy dockerfile. (#20405) 2019-11-21 15:16:32 +01:00
go.mod Backend plugins: Implement support for resources (#21805) 2020-01-31 11:15:50 +01:00
go.sum Backend plugins: Implement support for resources (#21805) 2020-01-31 11:15:50 +01:00
Gruntfile.js Docker: Build and use musl-based binaries in alpine images to resolve glibc incompatibility issues (#19798) 2019-10-24 14:34:14 +02:00
ISSUE_TRIAGE.md Docs: Clean up contribute docs (#19716) 2019-10-22 16:23:46 +02:00
jest.config.e2e.js Refactor: move end-to-end test infrastructure to @grafana/toolkit (#18012) 2019-07-19 08:13:12 -07:00
jest.config.js Graph: introduce Tooltip to React graph (#20046) 2019-11-07 12:37:46 +01:00
latest.json 6.6.0 latest (#21762) 2020-01-27 15:35:35 +01:00
lerna.json next version 6.7.0 (#21617) 2020-01-21 15:15:38 +01:00
LICENSE Small license correction 2019-03-21 16:36:24 +01:00
Makefile Build: adds make target run-frontend (#20227) 2019-11-12 11:08:40 +01:00
NOTICE.md Update NOTICE.md 2018-08-09 10:51:04 +02:00
package.json Replace ts-loader with Babel (#21587) 2020-01-30 10:54:11 +01:00
PLUGIN_DEV.md Update PLUGIN_DEV.md (#19387) 2019-09-26 12:40:47 +02:00
README.md Docs: Add "the" to license reference in README (#20167) 2019-11-05 01:22:24 -08:00
ROADMAP.md Update ROADMAP.md (#19384) 2019-09-25 07:18:35 +02:00
SECURITY.md Docs: Update SECURITY.md (#19385) 2019-09-26 12:42:23 +02:00
SUPPORT.md Update SUPPORT.md (#19383) 2019-09-25 07:17:01 +02:00
tsconfig.json @grafana/toolkit: cleanup (#21441) 2020-01-15 18:51:37 -05:00
tslint.json Chore: Replaces moment with Grafanas DateTime (#16919) 2019-05-08 13:51:44 +02:00
UPGRADING_DEPENDENCIES.md Update UPGRADING_DEPENDENCIES.md (#19386) 2019-09-25 07:28:44 +02:00
yarn.lock Replace ts-loader with Babel (#21587) 2020-01-30 10:54:11 +01:00

Grafana

The open-source platform for monitoring and observability.

License Circle CI 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 for many different way 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 the Apache 2.0 License.