● Zion Boggan
repos/Drophawk/infra/prometheus.yml
zionboggan.com ↗
27 lines · yaml
History for this file →
1
 
2
global:
3
  scrape_interval: 15s
4
  evaluation_interval: 15s
5
  external_labels:
6
    service: drophawk
7
 
8
rule_files:
9
  - /etc/prometheus/alerts.yml
10
 
11
scrape_configs:
12
 
13
  - job_name: "drophawk-backend"
14
    static_configs:
15
      - targets: ["backend:8080"]
16
    metrics_path: "/metrics"
17
    scrape_interval: 10s
18
 
19
  - job_name: "nats"
20
    static_configs:
21
      - targets: ["nats:8222"]
22
    metrics_path: "/metrics"
23
    scrape_interval: 15s
24
 
25
  - job_name: "prometheus"
26
    static_configs:
27
      - targets: ["localhost:9090"]