Configuration

global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
rule_files:
- /etc/prometheus/rules.yml
scrape_configs:
- job_name: prometheus
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - localhost:9090
    labels:
      instance: prometheus.tordo.arvadosapi.com
- job_name: keep_web
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: https
  authorization:
    type: Bearer
    credentials: <secret>
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - collections.tordo.arvadosapi.com:443
    labels:
      cluster: tordo
      instance: keep-web.tordo
- job_name: arvados_controller
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: https
  authorization:
    type: Bearer
    credentials: <secret>
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - tordo.arvadosapi.com:443
    labels:
      cluster: tordo
      instance: controller.tordo
- job_name: arvados_ws
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: https
  authorization:
    type: Bearer
    credentials: <secret>
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - ws.tordo.arvadosapi.com
    labels:
      cluster: tordo
      instance: ws.tordo
- job_name: keep_balance
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  authorization:
    type: Bearer
    credentials: <secret>
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - tordo.arvadosapi.com:9005
    labels:
      cluster: tordo
      instance: keep-balance.tordo
- job_name: arvados_dispatch_cloud
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  authorization:
    type: Bearer
    credentials: <secret>
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - tordo.arvadosapi.com:9006
    labels:
      cluster: tordo
      instance: arvados-dispatch-cloud.tordo
- job_name: postgresql
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - database.tordo:9187
    - database.tordo:3903
    labels:
      cluster: tordo
      instance: database.tordo
- job_name: blackbox
  honor_timestamps: true
  params:
    module:
    - tcp_connect
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /probe
  scheme: http
  follow_redirects: true
  enable_http2: true
  relabel_configs:
  - source_labels: [__address__]
    separator: ;
    regex: (.*)
    target_label: __param_target
    replacement: $1
    action: replace
  - source_labels: [__param_target]
    separator: ;
    regex: (.*)
    target_label: instance
    replacement: $1
    action: replace
  - separator: ;
    regex: (.*)
    target_label: __address__
    replacement: 127.0.0.1:9115
    action: replace
  static_configs:
  - targets:
    - keep0.tordo.arvadosapi.com:25107
    - database.tordo.arvadosapi.com:5432
    labels:
      cluster: tordo
- job_name: node
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - database.tordo.arvadosapi.com:9100
    labels:
      cluster: tordo
      instance: database.tordo.arvadosapi.com
  - targets:
    - keep0.tordo.arvadosapi.com:9100
    labels:
      cluster: tordo
      instance: keep0.tordo.arvadosapi.com
  - targets:
    - shell.tordo.arvadosapi.com:9100
    labels:
      cluster: tordo
      instance: shell.tordo.arvadosapi.com
  - targets:
    - workbench.tordo.arvadosapi.com:9100
    labels:
      cluster: tordo
      instance: workbench.tordo.arvadosapi.com
  - targets:
    - api.tordo.arvadosapi.com:9100
    labels:
      cluster: tordo
      instance: tordo.arvadosapi.com
- job_name: keepstore
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  authorization:
    type: Bearer
    credentials: <secret>
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - keep0.tordo.arvadosapi.com:25107
    labels:
      cluster: tordo
      instance: keep0.tordo