aboutsummaryrefslogtreecommitdiff
path: root/ansible/prometheus/files
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-08-22 21:45:35 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-08-22 21:45:35 +0200
commitb1892d6517abaf89d5deb624712b310ce3e1a5b9 (patch)
treea89b2ff710dff84e0b89326ee645b25529f74fb7 /ansible/prometheus/files
parent4c53a89d4102c9cbb512ee3cb4afe90e24605239 (diff)
downloadinfra-b1892d6517abaf89d5deb624712b310ce3e1a5b9.tar.gz
infra-b1892d6517abaf89d5deb624712b310ce3e1a5b9.tar.bz2
infra-b1892d6517abaf89d5deb624712b310ce3e1a5b9.tar.xz
infra-b1892d6517abaf89d5deb624712b310ce3e1a5b9.zip
grafana & prometheus
Diffstat (limited to 'ansible/prometheus/files')
-rw-r--r--ansible/prometheus/files/conflatorio/prometheus.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/ansible/prometheus/files/conflatorio/prometheus.yml b/ansible/prometheus/files/conflatorio/prometheus.yml
new file mode 100644
index 0000000..9fc1316
--- /dev/null
+++ b/ansible/prometheus/files/conflatorio/prometheus.yml
@@ -0,0 +1,25 @@
+global:
+ scrape_interval: 15s
+ evaluation_interval: 15s
+
+rule_files:
+ # - "first.rules"
+ # - "second.rules"
+
+scrape_configs:
+ - job_name: prometheus
+ static_configs:
+ - targets: ['localhost:9090']
+
+ - job_name: node
+ static_configs:
+ - targets:
+ - "knot.vpn.trygvis.io:9100"
+ - "hash.vpn.trygvis.io:9323"
+ - "conflatorio.vpn.trygvis.io:9100"
+
+ - job_name: bird
+ static_configs:
+ - targets:
+ - "knot.vpn.trygvis.io:9324"
+ - "conflatorio.vpn.trygvis.io:9324"