Configuration

global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
alerting:
  alertmanagers:
  - static_configs:
    - targets:
      - localhost:9093
    scheme: http
    timeout: 10s
    api_version: v1
rule_files:
- /etc/prometheus/backup_rules.yml
- /etc/prometheus/build_rules.yml
- /etc/prometheus/meta_rules.yml
- /etc/prometheus/node_rules.yml
- /etc/prometheus/ssl_rules.yml
scrape_configs:
- job_name: host
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - cirno1.sr.ht
    - cirno2.sr.ht
    - remilia.sr.ht
    - node.patchouli.sr.ht
    - alice1.sr.ht
    - alice2.sr.ht
    - alice3.sr.ht
    - tenshi.sr.ht
- job_name: virt
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - localhost:9100
    - node.builds.sr.ht
    - node.dispatch.sr.ht
    - node.git.sr.ht
    - node.hg.sr.ht
    - node.lists.sr.ht
    - node.man.sr.ht
    - node.meta.sr.ht
    - node.paste.sr.ht
    - node.todo.sr.ht
    - node.static1.sr.ht
    - mail-b.sr.ht
    - legacy.sr.ht
- job_name: service
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - meta.sr.ht
    - git.sr.ht
    - hg.sr.ht
    - todo.sr.ht
    - lists.sr.ht
    - man.sr.ht
    - dispatch.sr.ht
    - paste.sr.ht
    - lmtp.mail-b.sr.ht
- job_name: builder
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - azusa.runners.sr.ht
    - yui.runners.sr.ht
- job_name: pushgateway
  honor_labels: true
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - localhost:9091
- job_name: minio
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /minio/prometheus/metrics
  scheme: https
  static_configs:
  - targets:
    - patchouli.sr.ht
  bearer_token: <secret>