2020-07-24 00:05:25 +02:00
|
|
|
#################################### Paths ####################################
|
|
|
|
[paths]
|
|
|
|
# Path to where grafana can store temp files, sessions, and the sqlite3 db
|
|
|
|
data = /var/lib/grafana
|
|
|
|
|
|
|
|
# Directory where grafana can store logs
|
|
|
|
logs = /var/log/grafana
|
|
|
|
|
|
|
|
# Directory where grafana will automatically scan and look for plugins
|
|
|
|
plugins = /var/lib/grafana/plugins
|
|
|
|
|
|
|
|
|
|
|
|
#################################### Server ####################################
|
|
|
|
[server]
|
|
|
|
# Protocol (http, https, h2, socket)
|
|
|
|
protocol = http
|
|
|
|
|
|
|
|
# The ip address to bind to, empty will bind to all interfaces
|
|
|
|
http_addr = 127.0.0.1
|
|
|
|
|
|
|
|
# The http port to use
|
|
|
|
http_port = 3000
|
|
|
|
|
|
|
|
# The public facing domain name used to access grafana from a browser
|
|
|
|
domain = monitoring.teleport.zulipchat.net
|
|
|
|
|
|
|
|
# The full public facing url you use in browser, used for redirects and emails
|
|
|
|
# If you use reverse proxy and sub path specify full url (with sub path)
|
|
|
|
root_url = https://monitoring.teleport.zulipchat.net/
|
|
|
|
|
|
|
|
|
2024-03-21 22:28:10 +01:00
|
|
|
#################################### SMTP ####################################
|
|
|
|
[smtp]
|
|
|
|
enabled = true
|
|
|
|
from_name = Grafana
|
|
|
|
from_address = <%= @email_from %>
|
|
|
|
host = <%= @email_host %>
|
|
|
|
user = <%= @email_user %>
|
|
|
|
password = <%= @email_password %>
|
|
|
|
startTLS_policy = MandatoryStartTLS
|
|
|
|
|
|
|
|
|
2020-07-24 00:05:25 +02:00
|
|
|
#################################### Auth JWT ####################################
|
|
|
|
[auth.jwt]
|
|
|
|
# Grafana should trust the JWT that is provided in a header from Teleport; see
|
|
|
|
# https://goteleport.com/docs/application-access/guides/jwt/ and
|
|
|
|
# https://grafana.com/docs/grafana/latest/auth/jwt/
|
|
|
|
enabled = true
|
|
|
|
header_name = Teleport-Jwt-Assertion
|
|
|
|
username_claim = sub
|
|
|
|
jwk_set_url = https://teleport.zulipchat.net/.well-known/jwks.json
|
|
|
|
cache_ttl = 24h
|
|
|
|
expect_claims = {"iss": "teleport.zulipchat.net"}
|
2022-06-17 23:10:22 +02:00
|
|
|
auto_sign_up = true
|
2022-01-04 03:02:13 +01:00
|
|
|
|
|
|
|
#################################### Alerting ####################################
|
|
|
|
# Switch to the Grafana 8 unified alerting
|
|
|
|
# https://grafana.com/docs/grafana/latest/alerting/unified-alerting/opt-in/#enable-grafana-alerting
|
|
|
|
[unified_alerting]
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
[alerting]
|
|
|
|
enabled = false
|