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.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/bundles/prometheus/files/prometheus.yml b/bundles/prometheus/files/prometheus.yml
new file mode 100644
index 0000000..0614c8c
--- /dev/null
+++ b/bundles/prometheus/files/prometheus.yml
@@ -0,0 +1,28 @@
+global:
+  scrape_interval: 60s
+  scrape_timeout: 30s
+  # evaluation_interval: 30s
+  # body_size_limit: 15MB
+  # sample_limit: 1500
+  # target_limit: 30
+  # label_limit: 30
+  # label_name_length_limit: 200
+  # label_value_length_limit: 200
+
+rule_files:
+  - rule_*.yml
+
+scrape_configs:
+
+  - job_name: prometheus
+    static_configs:
+    - targets: [localhost:9090]
+      labels:
+        instance: inazuma
+
+  - job_name: service-discovery
+    file_sd_configs:
+      - files:
+          - /etc/prometheus/services/*.json
+          - /etc/prometheus/services/*.yaml
+          - /etc/prometheus/services/*.yml