Go to file
Ivana Huckova c106c7700b
Explore: Create DataSourceWithSupplementaryQueriesSupport interface to support log volume and samples (#61298)
* Create DataSourceWithLogsSampleSupport check and move to 1 place

* Add new SupplementaryQueryType

* Add and change utility functions for loading, storing ancd checking supp queries

* Add logic to redux for processing of new type of supp query

* Implement queryLogsSample used to run samples queries

* Fix tests to include also Log samples

* Add tests

* Temporarily, default to false

* Change comment

* Fix lint error

* Refactor handling of supplementary queries in query.ts

* Fix looping over array

* Remove changes for any => unknowns as in utils.ts

* Fix logic

* Fix incorrect imports after function was moved to different file

* Migrate old log volume key

* Update public/app/features/explore/utils/supplementaryQueries.ts

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* Refactor to use DataSourceWithSupplementaryQueriesSupport

* Refactor, improve tests,  change internal API

* Update packages/grafana-data/src/types/logs.ts

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* Add deprecation for DataSourceWithLogsVolumeSupport, but still support it

* Update comment with correct new issue

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2023-01-20 14:20:49 +01:00
.bingo
.changelog-archive
.github Chore: update `CODEOWNERS` for edge & multitenancy squads (#61672) 2023-01-19 14:16:14 +04:00
.husky
.vim
.vscode
.yarn Revert "Chore: Update typescript to 4.9.3 (#60538)" (#60774) 2022-12-27 06:30:52 -08:00
conf SAML: Support auto login (#61685) 2023-01-19 15:53:02 +01:00
contribute Chore: Move all backend contribution documents to a single directory (#61140) 2023-01-11 11:16:52 +01:00
cue.mod
devenv Loki: Use `tsdb` index in devenv (#61737) 2023-01-19 09:29:09 +01:00
docs Update link to provisioning docs (#61840) 2023-01-20 12:55:27 +01:00
e2e Azure Monitor: Implement logic to allow multiple selection (#61740) 2023-01-20 11:19:31 +01:00
emails
grafana-mixin
kinds Kindsys: Unify plugins, pfs with kind framework (#61192) 2023-01-20 09:41:35 +00:00
packages Explore: Create DataSourceWithSupplementaryQueriesSupport interface to support log volume and samples (#61298) 2023-01-20 14:20:49 +01:00
packaging
pkg Azure Monitor: Fix frame display name with multiple resources (#61750) 2023-01-20 12:20:01 +01:00
plugins-bundled
public Explore: Create DataSourceWithSupplementaryQueriesSupport interface to support log volume and samples (#61298) 2023-01-20 14:20:49 +01:00
scripts Packaging: Use base64 key (#61802) 2023-01-19 15:03:19 -07:00
tools
.betterer.results Explore: Create DataSourceWithSupplementaryQueriesSupport interface to support log volume and samples (#61298) 2023-01-20 14:20:49 +01:00
.betterer.ts Chore: eslint rule for preventing e2e selectors in aria-label (#59731) 2023-01-18 15:02:35 +00:00
.bra.toml
.browserslistrc
.dockerignore
.drone.star
.drone.yml Packaging: Use base64 key (#61802) 2023-01-19 15:03:19 -07:00
.editorconfig
.eslintignore
.eslintrc Chore: eslint rule for preventing e2e selectors in aria-label (#59731) 2023-01-18 15:02:35 +00:00
.gitattributes
.gitignore
.golangci.toml
.linguirc
.nvmrc
.pa11yci-pr.conf.js
.pa11yci.conf.js
.prettierignore Codegen: Generate per-kind reference docs (#60416) 2023-01-16 13:55:40 +01:00
.prettierrc.js
.yarnrc.yml Scenes: Use @grafana/scenes (#60972) 2023-01-10 03:30:53 -08:00
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile Fix: Use an existing Dockerfile for the Go image (#61158) 2023-01-10 17:11:43 +01:00
GOVERNANCE.md
HALL_OF_FAME.md
ISSUE_TRIAGE.md ISSUE_TRIAGE.md: update (#60299) 2023-01-19 18:21:36 +01:00
LICENSE
LICENSING.md
MAINTAINERS.md
Makefile Kindsys: Rename mudball to common schemas, allow multiple input cue files (#61703) 2023-01-18 17:40:22 +00:00
NOTICE.md
README.md
ROADMAP.md
SECURITY.md
SUPPORT.md
UPGRADING_DEPENDENCIES.md
WORKFLOW.md
babel.config.json
build.go
crowdin.yml
embed.go Kindsys: Unify plugins, pfs with kind framework (#61192) 2023-01-20 09:41:35 +00:00
go.mod Update `grafana/alerting` to the latest main (#61810) 2023-01-19 20:44:49 +00:00
go.sum Update `grafana/alerting` to the latest main (#61810) 2023-01-19 20:44:49 +00:00
jest.config.js Jest: Add logger to print test results in Loki friendly format (#59672) 2022-12-27 12:06:06 +01:00
latest.json
lerna.json
metadata.md
package.json Update dependency eslint-plugin-jsx-a11y to v6.7.1 (#61525) 2023-01-20 09:13:24 +01:00
stylelint.config.js
tsconfig.json Scenes: Use @grafana/scenes (#60972) 2023-01-10 03:30:53 -08:00
yarn.lock Update dependency eslint-plugin-jsx-a11y to v6.7.1 (#61525) 2023-01-20 09:13:24 +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.