18 lines
613 B
YAML
18 lines
613 B
YAML
# Grafana datasource provisioning for the *external* production Grafana.
|
|
# Copy to the Grafana host (e.g. /etc/grafana/provisioning/datasources/) and
|
|
# point url at the production Prometheus. Keep uid: prometheus so the
|
|
# dashboards under infra/grafana/dashboards/ resolve without editing each panel.
|
|
#
|
|
# Local-dev provisioning stays in infra/grafana/provisioning/datasources/prometheus.yml
|
|
# (url: http://prometheus:9090).
|
|
|
|
apiVersion: 1
|
|
datasources:
|
|
- name: Prometheus
|
|
type: prometheus
|
|
uid: prometheus
|
|
url: http://prometheus.internal:9090
|
|
isDefault: true
|
|
access: proxy
|
|
editable: false
|