all repos

onasty @ 234f7640a37cda6214824da3125ccda420167697

a one-time notes service

onasty/infra/prometheus/prometheus.yml(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
global:
  scrape_interval: 5s
  scrape_timeout: 2s
  evaluation_interval: 15s

scrape_configs:
  - job_name: core
    metrics_path: /metrics
    scheme: http
    follow_redirects: true
    honor_timestamps: true
    static_configs:
      - targets: [core:8001]
        labels:
          service: "core"

  - job_name: mailer
    metrics_path: /metrics
    scheme: http
    follow_redirects: true
    honor_labels: true
    static_configs:
      - targets: [mailer:8001]
        labels:
          service: "mailer"