ansible-nas/roles/stats/templates/datasources/ansible-nas.yml

19 lines
367 B
YAML
Raw Normal View History

---
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
orgId: 1
url: http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ stats_prometheus_port }}
uid: ansible_nas
isDefault: true
version: 4
deleteDatasources:
- name: "InfluxDB"
orgId: 1
- name: "Alertmanager"
orgId: 1