Configuration

global:
  scrape_interval: 2m
  scrape_timeout: 10s
  evaluation_interval: 1m
scrape_configs:
- job_name: prometheus
  honor_timestamps: true
  scrape_interval: 2m
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - localhost:9090
- job_name: rpi_temperature
  honor_timestamps: true
  scrape_interval: 2m
  scrape_timeout: 10s
  metrics_path: /cgi-bin/hw.sh
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - lim.isayenko.net:9231
    labels:
      instance: lim-rpi4b-1
- job_name: node-exporter
  honor_timestamps: true
  scrape_interval: 2m
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - localhost:9100
    labels:
      instance: alex-ocean
  - targets:
    - 100.101.115.32:9100
    labels:
      instance: perkunas
  - targets:
    - 100.105.214.70:9100
    labels:
      instance: lim-rpi4b
- job_name: smartctl-exporter
  honor_timestamps: true
  scrape_interval: 2m
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - 100.101.115.32:9633
    labels:
      instance: perkunas
- job_name: process-exporter
  honor_timestamps: true
  scrape_interval: 2m
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - 100.101.115.32:9256
    labels:
      instance: perkunas
  - targets:
    - 127.0.0.1:9256
    labels:
      instance: alex-ocean
- job_name: pve
  honor_timestamps: true
  params:
    cluster:
    - "1"
    module:
    - default
    node:
    - "1"
  scrape_interval: 2m
  scrape_timeout: 10s
  metrics_path: /pve
  scheme: http
  follow_redirects: true
  enable_http2: true
  relabel_configs:
  - source_labels: [__address__]
    separator: ;
    regex: (.*)
    target_label: __param_target
    replacement: $1
    action: replace
  - separator: ;
    regex: (.*)
    target_label: __address__
    replacement: 100.101.115.32:9221
    action: replace
  static_configs:
  - targets:
    - localhost
    labels:
      instance: perkunas