Grafana: Difference between revisions
Fixed a typo: "serve Grafana", not "server Grafana". |
All plugins can be provisioned |
||
Line 99: | Line 99: | ||
datasources.settings.datasources = [ | datasources.settings.datasources = [ | ||
# "Built-in" datasources can be provisioned - | # "Built-in" datasources can be provisioned - see https://grafana.com/docs/grafana/latest/administration/provisioning/#data-sources | ||
{ | { | ||
name = "Prometheus"; | name = "Prometheus"; | ||
Line 105: | Line 105: | ||
url = "http://${config.services.prometheus.listenAddress}:${toString config.services.prometheus.port}"; | url = "http://${config.services.prometheus.listenAddress}:${toString config.services.prometheus.port}"; | ||
} | } | ||
# | # All plugins can, but it's not always documented: https://github.com/fr-ser/grafana-sqlite-datasource/blob/main/docs/faq.md#can-i-use-provisioning-with-this-plugin | ||
# Compare below with https://grafana.com/docs/plugins/yesoreyeram-infinity-datasource/latest/setup/provisioning/ | |||
{ | { | ||
name = "Infinity"; | name = "Infinity"; | ||
type = "yesoreyeram-infinity-datasource"; | type = "yesoreyeram-infinity-datasource"; | ||
} | } | ||
]; | ]; | ||