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
Tania B 5652bde447
Encryption: Use secrets service (#40251)
* Use secrets service in pluginproxy

* Use secrets service in pluginxontext

* Use secrets service in pluginsettings

* Use secrets service in provisioning

* Use secrets service in authinfoservice

* Use secrets service in api

* Use secrets service in sqlstore

* Use secrets service in dashboardshapshots

* Use secrets service in tsdb

* Use secrets service in datasources

* Use secrets service in alerting

* Use secrets service in ngalert

* Break cyclic dependancy

* Refactor service

* Break cyclic dependancy

* Add FakeSecretsStore

* Setup Secrets Service in sqlstore

* Fix

* Continue secrets service refactoring

* Fix cyclic dependancy in sqlstore tests

* Fix secrets service references

* Fix linter errors

* Add fake secrets service for tests

* Refactor SetupTestSecretsService

* Update setting up secret service in tests

* Fix missing secrets service in multiorg_alertmanager_test

* Use fake db in tests and sort imports

* Use fake db in datasources tests

* Fix more tests

* Fix linter issues

* Attempt to fix plugin proxy tests

* Pass secrets service to getPluginProxiedRequest in pluginproxy tests

* Fix pluginproxy tests

* Revert using secrets service in alerting and provisioning

* Update decryptFn in alerting migration

* Rename defaultProvider to currentProvider

* Use fake secrets service in alert channels tests

* Refactor secrets service test helper

* Update setting up secrets service in tests

* Revert alerting changes in api

* Add comments

* Remove secrets service from background services

* Convert global encryption functions into vars

* Revert "Convert global encryption functions into vars"

This reverts commit 498eb19859.

* Add feature toggle for envelope encryption

* Rename toggle

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
2021-11-04 18:47:21 +02: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(renovate): Ignore d3-scale-chromatic until we move to esm modules (#40819) 2021-11-04 16:35:47 +00: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 Docs: Cleanup alerting documentation, part 1 (#40737) 2021-10-27 16:57:54 -04:00
conf OAuth: Support PKCE (#39948) 2021-10-13 16:45:15 +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 Fix K6 load test script (#38465) 2021-10-29 09:38:41 -06:00
docs Transformations: support a rows mode in labels to fields (#41020) 2021-11-04 17:12:01 +01:00
e2e Update dependency date-fns to v2 (#41027) 2021-11-01 15:39:06 +00: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 Transformations: support a rows mode in labels to fields (#41020) 2021-11-04 17:12:01 +01:00
packaging upgrade ncurses in docker image (#41002) 2021-10-27 18:03:09 +02:00
pkg Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
plugins-bundled Chore: Switch yarn 2 to plug-n-play strategy (#40300) 2021-10-27 14:21:07 +01:00
public Transformations: support a rows mode in labels to fields (#41020) 2021-11-04 17:12:01 +01:00
scripts Chore: Enable strict Typescript checks (#41198) 2021-11-02 15:23:44 +00: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: Enable strict Typescript checks (#41198) 2021-11-02 15:23:44 +00: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 Chore: Remove GoConvey dependency (#41146) 2021-11-01 14:56:18 +01:00
go.sum Chore: Remove GoConvey dependency (#41146) 2021-11-01 14:56:18 +01: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 Update dependency jest-junit to v13 (#41259) 2021-11-03 14:42:06 +00: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 Chore: Bump prismjs from 1.24.0 to 1.25.0 in grafana/ui (#41310) 2021-11-04 15:30:34 +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.