Files
beepi/playbooks/monitoring/grafana/provisioning/datasources/datasources.yml.j2
T
2026-08-16 14:48:04 +02:00

50 lines
1.0 KiB
Django/Jinja

apiVersion: 1
datasources:
- name: prometheus
uid: {{ grafana_prometheus_uid }}
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true
editable: false
jsonData:
timeInterval: 15s
httpMethod: POST
- name: loki
uid: {{ grafana_loki_uid }}
type: loki
access: proxy
url: http://loki:3100
editable: false
jsonData:
maxLines: 2000
- name: topology
uid: {{ grafana_infinity_uid }}
type: yesoreyeram-infinity-datasource
access: proxy
editable: false
jsonData:
allowedHosts:
- http://topology:8088
global_queries: []
{% if uptimerobot_enabled %}
- name: uptimerobot
uid: {{ grafana_uptimerobot_uid }}
type: yesoreyeram-infinity-datasource
access: proxy
editable: false
jsonData:
auth_method: apiKey
apiKeyKey: api_key
apiKeyType: query
allowedHosts:
- https://api.uptimerobot.com
global_queries: []
secureJsonData:
apiKeyValue: {{ uptimerobot_api_key }}
{% endif %}