[metrics] syncthing and minio
diff --git a/lotus-land-story/prometheus.yml b/lotus-land-story/prometheus.yml
index e5341ac..5b74312 100644
--- a/lotus-land-story/prometheus.yml
+++ b/lotus-land-story/prometheus.yml
@@ -4,7 +4,7 @@
- vars.yml
vars:
prometheus_version: v3.4.1
- cadvisor_version: v0.53.0
+ cadvisor_version: v0.52.1
tasks:
- name: Create Prometheus dir
diff --git a/lotus-land-story/templates/prometheus.yml b/lotus-land-story/templates/prometheus.yml
index 41d61ee..d589818 100644
--- a/lotus-land-story/templates/prometheus.yml
+++ b/lotus-land-story/templates/prometheus.yml
@@ -87,3 +87,23 @@ scrape_configs:
- job_name: anubis
static_configs:
- targets: ['anubis:9090']
+
+ - job_name: syncthing
+ bearer_token: {{ syncthing.api_key }}
+ static_configs:
+ - targets: ['mountain-of-faith:8384']
+
+ - job_name: minio-job
+ bearer_token: {{ minio.cluster_token }}
+ metrics_path: /minio/v2/metrics/cluster
+ scheme: http
+ static_configs:
+ - targets: ['mountain-of-faith:9000']
+
+ - job_name: minio-job-bucket
+ bearer_token: {{ minio.bucket_token }}
+ metrics_path: /minio/v2/metrics/bucket
+ scheme: http
+ static_configs:
+ - targets: ['mountain-of-faith:9000']
+