Configuration

global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
alerting:
  alertmanagers:
  - follow_redirects: true
    scheme: http
    timeout: 10s
    api_version: v2
    static_configs:
    - targets:
      - localhost:9093
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
  static_configs:
  - targets:
    - localhost:9090
- job_name: besu_validators_nginx
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /node-metrics/metrics
  scheme: http
  follow_redirects: true
  static_configs:
  - targets:
    - 195.251.92.253
    labels:
      instance_name: validator1
      location: AIHub-Uniwa
      role: validator
  - targets:
    - 195.251.92.233
    labels:
      instance_name: validator2
      location: AIHub-Uniwa
      role: validator
  - targets:
    - 195.251.92.163
    labels:
      instance_name: validator3
      location: AIHub-Uniwa
      role: validator
  - targets:
    - 83.212.77.14
    labels:
      instance_name: validator4
      location: Okeanos
      role: validator
  - targets:
    - 83.212.77.31
    labels:
      instance_name: validator5
      location: Okeanos
      role: validator
  - targets:
    - 83.212.77.13
    labels:
      instance_name: New Validator4
      location: Okeanos
      role: validator
  - targets:
    - 83.212.80.117
    labels:
      instance_name: New Validator5
      location: Okeanos
      role: validator
- job_name: node_exporter
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /node/metrics
  scheme: http
  follow_redirects: true
  static_configs:
  - targets:
    - 195.251.92.253
    labels:
      instance_name: validator1
  - targets:
    - 195.251.92.233
    labels:
      instance_name: validator2
  - targets:
    - 195.251.92.163
    labels:
      instance_name: validator3
  - targets:
    - 83.212.77.14
    labels:
      instance_name: validator4
  - targets:
    - 83.212.77.31
    labels:
      instance_name: validator5
  - targets:
    - 83.212.77.13
    labels:
      instance_name: New Validator4
  - targets:
    - 83.212.80.117
    labels:
      instance_name: New Validator5
- job_name: blackbox_eth_blocknumber
  honor_timestamps: true
  params:
    module:
    - eth_blocknumber_post
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /probe
  scheme: http
  follow_redirects: 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:
    - https://rpc.dimikog.org/rpc/
- job_name: besu_rpc_backup
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: https
  follow_redirects: true
  static_configs:
  - targets:
    - rpc2.dimikog.org
    labels:
      instance_name: rpc2
      location: Okeanos
      role: rpc
      type: backup
- job_name: archive_node
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /archive-metrics
  scheme: https
  follow_redirects: true
  static_configs:
  - targets:
    - rpc.dimikog.org
    labels:
      instance_name: rpc1-archive
      location: Okeanos
      role: rpc
      type: archive