Browse Source

add back scrape configs (#3433)

Alex Meijer 6 tháng trước cách đây
mục cha
commit
d13a362c72
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      kubernetes/prometheus/extraScrapeConfigs.yaml

+ 12 - 0
kubernetes/prometheus/extraScrapeConfigs.yaml

@@ -0,0 +1,12 @@
+extraScrapeConfigs: |
+  - job_name: opencost
+    honor_labels: true
+    scrape_interval: 1m
+    scrape_timeout: 10s
+    metrics_path: /metrics
+    scheme: http
+    dns_sd_configs:
+    - names:
+      - opencost.opencost
+      type: 'A'
+      port: 9003