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
Erik Sundell a111cc0d5c
Stackdriver: Support for SLO queries (#22917)
* wip: add slo support

* Export DataSourcePlugin

* wip: break out metric query editor into its own component

* wip: refactor frontend - keep SLO and Metric query in differnt objects

* wip - load services and slos

* Fix broken test

* Add interactive slo expression builder

* Change order of dropdowns

* Refactoring backend model. slo unit testing in progress

* Unit test migration and SLOs

* Cleanup SLO editor

* Simplify alias by component

* Support alias by for slos

* Support slos in variable queries

* Fix broken last query error

* Update Help section to include SLO aliases

* streamline datasource resource cache

* Break out api specific stuff in datasource to its own file

* Move get projects call to frontend

* Refactor api caching

* Unit test api service

* Fix lint go issue

* Fix typescript strict errors

* Fix test datasource

* Use budget fraction selector instead of budget

* Reset SLO when service is changed

* Handle error in case resource call returned no data

* Show real SLI display name

* Use unsafe prefix on will mount hook

* Store goal in query model since it will be used as soon as graph panel supports adding a threshold

* Add comment to describe why componentWillMount is used

* Interpolate sloid

* Break out SLO aggregation into its own func

* Also test group bys for metricquery test

* Remove not used type fields

* Remove annoying stackdriver prefix from error message

* Default view param to FULL

* Add part about SLO query builder in docs

* Use new images

* Fixes after feedback

* Add one more group by test

* Make stackdriver types internal

* Update docs/sources/features/datasources/stackdriver.md

Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/features/datasources/stackdriver.md

Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/features/datasources/stackdriver.md

Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Updates after PR feedback

* add test for when no alias by defined

* fix infinite loop when newVariables feature flag is on

onChange being called in componentDidUpdate produces an
infinite loop when using the new React template variable
implementation.

Also fixes a spelling mistake

* implements feedback for documentation changes

* more doc changes

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
2020-03-27 12:01:16 +01:00
.circleci CircleCI: Build and publish Docker images in same job (#23092) 2020-03-26 17:25:01 +01:00
.github Testing code owners for backend code (#22572) 2020-03-04 17:08:07 +01:00
conf Dashboard: Adds support for a global minimum dashboard refresh interval (#19416) 2020-02-28 14:32:01 +01:00
contribute Update documentation-style-guide.md (#22733) 2020-03-24 07:19:02 -07:00
devenv Devenv: adds grafana block with a customizeable version (#22867) 2020-03-18 15:42:41 +01:00
docs Stackdriver: Support for SLO queries (#22917) 2020-03-27 12:01:16 +01:00
e2e @grafana/e2e: API improvements (#23079) 2020-03-26 12:15:58 -04:00
emails Emails: Update notification templates (#19662) 2019-10-31 10:33:33 -07:00
packages RadioButtonGroup: Fixed vertical centering (#23138) 2020-03-27 11:38:09 +01:00
packaging Docker: Upgrade Ubuntu to 19.10 (#22306) 2020-02-19 15:23:54 +01:00
pkg Stackdriver: Support for SLO queries (#22917) 2020-03-27 12:01:16 +01:00
public Stackdriver: Support for SLO queries (#22917) 2020-03-27 12:01:16 +01:00
scripts Chore: Typecheck TypeScript in CI pipelines (#23052) 2020-03-25 12:19:21 +01:00
tools/phantomjs Rendering: Have phantomjs wait a bit before rendering to give fonts a change to load (#22623) 2020-03-06 17:55:13 +01:00
vendor Core: Add go-datemath library (#22978) 2020-03-26 10:26:47 +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 TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
.eslintrc TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
.gitignore Chore: adds report.xxxx.json to gitignore (#23016) 2020-03-24 11:15:04 +01:00
.prettierignore Updated prettierignore 2019-03-08 13:56:21 +01:00
api-extractor.json Docs: adding API reference documentation support for the packages libraries. (#21931) 2020-02-25 13:59:11 +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 changelog 6.7.1 (#22932) 2020-03-20 17:23:22 +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 Fix Dockerfile lint errors (#22496) 2020-02-28 16:27:49 +01:00
Dockerfile.ubuntu Fix Dockerfile lint errors (#22496) 2020-02-28 16:27:49 +01:00
go.mod Core: Add go-datemath library (#22978) 2020-03-26 10:26:47 +01:00
go.sum Core: Add go-datemath library (#22978) 2020-03-26 10:26:47 +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.js FieldOverides: apply field overrides based on configuration (#22047) 2020-02-13 21:37:24 +01:00
latest.json update latest to 6.7.1 (#22933) 2020-03-20 17:32:11 +01:00
lerna.json Increment Grafana version (#22728) 2020-03-11 17:20:56 +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 DevEnv: update frontend dependencies - react-transition-group (#22998) 2020-03-26 16:04:14 +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 TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
UPGRADING_DEPENDENCIES.md Update UPGRADING_DEPENDENCIES.md (#19386) 2019-09-25 07:28:44 +02:00
yarn.lock DevEnv: update frontend dependencies - react-transition-group (#22998) 2020-03-26 16:04:14 +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.