about summary refs log tree commit diff
path: root/bundles/prometheus/files/prometheus.yml
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/prometheus/files/prometheus.yml')
-rw-r--r--bundles/prometheus/files/prometheus.yml24
1 files changed, 19 insertions, 5 deletions
diff --git a/bundles/prometheus/files/prometheus.yml b/bundles/prometheus/files/prometheus.yml
index 0614c8c..38841e5 100644
--- a/bundles/prometheus/files/prometheus.yml
+++ b/bundles/prometheus/files/prometheus.yml
@@ -9,16 +9,24 @@ global:
   # label_name_length_limit: 200
   # label_value_length_limit: 200
 
+# TODO: pending release
+# storage:
+#   tsdb:
+#     retention:
+#       time: 30d
+#       size: 6GB
+
 rule_files:
-  - rule_*.yml
+  - /etc/prometheus/rules/*.json
+  - /etc/prometheus/rules/*.yaml
+  - /etc/prometheus/rules/*.yml
 
 scrape_configs:
-
   - job_name: prometheus
     static_configs:
-    - targets: [localhost:9090]
-      labels:
-        instance: inazuma
+      - targets: [localhost:9090]
+        labels:
+          instance: inazuma
 
   - job_name: service-discovery
     file_sd_configs:
@@ -26,3 +34,9 @@ scrape_configs:
           - /etc/prometheus/services/*.json
           - /etc/prometheus/services/*.yaml
           - /etc/prometheus/services/*.yml
+
+alerting:
+  alertmanagers:
+    - scheme: http
+      static_configs:
+        - targets: [localhost:9093]