blob: a6066da30a4e2f365e9ea5366afa4d1461a385de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# managed by Ansible
{% import 'macros.j2' as macros with context %}
apiVersion: 1
datasources:
{% call(h) macros.loop_valid_hosts("servers") %}
- name: {{ h.inventory_hostname }}-prometheus
type: prometheus
url: http://{{ h.__ip.internal }}:9090
- name: {{ h.inventory_hostname }}-loki
type: loki
url: http://{{ h.__ip.internal }}:3100
{% endcall %}
|