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
Jeremy Alvis f021f97c31
DataSourceSettings: Add servername field to DataSource TLS config (#29279)
* DataSourceSettings: Add servername field to DataSource TLS config

A DNS lookup URL can be provided in the DataSource URL field in order
to dynamically load balance between multiple instances of a DataSource.
When using mutual TLS, Golang's TLS config implementation checks that
the certificate's common name (< 1.15) or subject alternative name
(>= 1.15) has the same value as the domain being accessed. If the DNS
entry is dynamically generated for a specific environment, the
certificate cannot be generated with a name matching the dynamic
DNS URL. As such, Golang offers a servername field that can be set to
overwrite what value is used when checking against the certificate's
common name (or subject alternative name). Without this change, Skip
TLS Verify must be set to true in order for the DataSource to work,
removing some of the benefits gained by using mutual TLS.

This commit adds the ability to set Grafana's internal Golang TLS config
servername field from the UI or a provisioned DataSource.

The servername field is optional and the existing behavior is retained if
the field is not set.

Co-authored-by: Dana Pruitt <dpruitt@vmware.com>
Co-authored-by: Jeremy Alvis <jalvis@pivotal.io>

* Update docs with PR review changes

Co-authored-by: Jeremy Alvis <jalvis@pivotal.io>
Co-authored-by: Dana Pruitt <dpruitt@vmware.com>

* Update with additional PR requested changes

* Minor updates based on PR change requests

Co-authored-by: Dana Pruitt <dpruitt@vmware.com>
2020-12-10 16:07:05 +01:00
.circleci Circle: Remove release pipeline (#28474) 2020-10-22 16:22:48 +02:00
.github GitHubActions: Update node version in github action (#29683) 2020-12-08 17:09:22 +01:00
conf Logging: rate limit fronted logging endpoint (#29272) 2020-12-09 16:22:24 +01:00
contribute Update documentation-style-guide.md (#29661) 2020-12-07 10:51:11 -08:00
dashboard-schemas dashboard-schemas cue 3.0.0 compatible (#29352) 2020-11-25 07:43:09 +01:00
devenv Devenv: Add default db for influxdb (#29371) 2020-12-03 11:50:35 +02:00
docs DataSourceSettings: Add servername field to DataSource TLS config (#29279) 2020-12-10 16:07:05 +01:00
e2e QueryGroup & DataSourceSrv & DataSourcePicker changes simplify usage, error handling and reduce duplication, support for uid (#29542) 2020-12-04 14:24:55 +01:00
emails Chore: MEGA - Make Eslint Great Again 💅 (#26094) 2020-08-11 17:52:44 +02:00
grafana-mixin reduce severity level to warning (#28939) 2020-11-20 10:30:51 +01:00
packages DataSourceSettings: Add servername field to DataSource TLS config (#29279) 2020-12-10 16:07:05 +01:00
packaging Docker: use root group in the custom Dockerfile (#28639) 2020-10-29 15:02:09 +01:00
pkg DataSourceSettings: Add servername field to DataSource TLS config (#29279) 2020-12-10 16:07:05 +01:00
plugins-bundled Expressions: Move GEL into core as expressions (#29072) 2020-11-19 07:17:00 -05:00
public Elasticsearch: View in context feature for logs (#28764) 2020-12-10 11:19:14 +00:00
scripts Typescript: Raise strict error limit for enterprise (#29688) 2020-12-08 15:56:55 +01:00
tools Image Rendering: Remove PhantomJS support (#23460) 2020-04-15 22:17:41 +02:00
.babelrc Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements (#18544) 2019-09-03 09:29:02 +01:00
.bra.toml Chore: Upgrade to Go 1.14 (#23371) 2020-04-08 14:13:05 +02: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
.drone.star Drone: Add version branch pipeline (#28490) 2020-10-23 10:16:17 +02:00
.drone.yml Build: Publish next and latest npm channels to Github (#29615) 2020-12-04 16:34:03 +01:00
.editorconfig Chore: Enable PR testing in Drone (#26189) 2020-07-10 16:09:21 +02:00
.eslintignore Chore: eslint plugin react hooks fix in jeager (#27580) 2020-09-24 14:41:57 +02:00
.eslintrc Chore: Enable remaining eslint-plugin-react rules (#29519) 2020-12-02 10:03:37 +01:00
.gitattributes CRLF (#28822) 2020-11-05 17:20:40 +01:00
.gitignore Build: changing docs docker image to prevent setting up frontend devenv. (#28670) 2020-10-30 10:22:01 +01:00
.prettierignore Migration: TestData Query Editor (#27997) 2020-10-14 13:08:35 +03:00
.prettierrc.js Prettier: Add prettier config that imports prettier from toolkit (#23729) 2020-04-21 17:23:49 +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 Grunt: Removes grunt dependency and replaces some of its usage (#29461) 2020-12-01 10:32:12 +01:00
CHANGELOG_ARCHIVE.md Automation: Adds new changelog actions (#29142) 2020-11-16 21:34:19 +01:00
CHANGELOG.md ReleaseNotes: Updated changelog and release notes for 7.3.5 (#29744) 2020-12-10 14:05:51 +01:00
CODE_OF_CONDUCT.md Docs: Refactor inconsistent unordered lists (#27826) 2020-10-02 11:02:11 -07:00
CONTRIBUTING.md IssueTriage: Needs more info automation and messages (#28137) 2020-10-16 16:49:55 +02:00
Dockerfile Make build docker full fix (#29570) 2020-12-03 14:17:40 +01:00
Dockerfile.ubuntu Make build docker full fix (#29570) 2020-12-03 14:17:40 +01:00
go.mod Adds go dep used by an Enterprise feature. (#29645) 2020-12-08 16:22:24 +01:00
go.sum Adds go dep used by an Enterprise feature. (#29645) 2020-12-08 16:22:24 +01:00
GOVERNANCE.md Add Alex Khomenko as member (#28032) 2020-10-05 15:08:16 +03:00
ISSUE_TRIAGE.md GrafanaBot: Update labels and commands and adds docs (#28950) 2020-11-09 21:45:18 +01:00
jest.config.js Chore: Bump storybook to v6 (#28926) 2020-11-24 10:38:41 +01:00
latest.json Chore: update stable and testing versions (#29748) 2020-12-10 15:04:47 +01:00
lerna.json Chore: Update package.json (#28291) 2020-10-15 14:41:25 +02:00
LICENSE Small license correction 2019-03-21 16:36:24 +01:00
MAINTAINERS.md Docs: Refactor inconsistent unordered lists (#27826) 2020-10-02 11:02:11 -07:00
Makefile Proposal to include a tidy check (#27204) 2020-09-21 10:00:44 +02:00
NOTICE.md Update NOTICE.md 2018-08-09 10:51:04 +02:00
package.json Typescript: Fixing typescript strict error, and separate check from publishing (#29679) 2020-12-08 12:56:37 +01:00
PLUGIN_DEV.md Update PLUGIN_DEV.md (#19387) 2019-09-26 12:40:47 +02:00
README.md Fix titles case and add missing punctuation marks (#28713) 2020-11-05 09:17:08 -05:00
ROADMAP.md Update ROADMAP.md (#19384) 2019-09-25 07:18:35 +02:00
SECURITY.md Docs: Fix broken link (#25664) 2020-06-18 14:08:26 +02:00
SUPPORT.md Update SUPPORT.md (#19383) 2019-09-25 07:17:01 +02:00
tsconfig.json Tests: Adds expects for observables (#28929) 2020-11-18 15:18:55 +01:00
UPGRADING_DEPENDENCIES.md Docs: Fix note format for documentation (#27940) 2020-09-30 12:45:07 -07:00
WORKFLOW.md Docs: Minor docs update 2020-11-10 12:14:02 +01:00
yarn.lock GraphNG: replace bizcharts with uPlot for sparklines (#29632) 2020-12-08 08:13:12 -08: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 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 the Apache 2.0 License.