Files
ethereum-rpc-docker/prometheus/prometheus-rpc.yml
cventastic d3720d94c9 mon
2021-12-30 00:45:00 +01:00

66 lines
1.5 KiB
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
external_labels:
monitor: 'rpc-node'
# Load and evaluate rules in this file every 'evaluation_interval' seconds.
rule_files:
- "alert.rules"
# A scrape configuration containing exactly one endpoint to scrape.
scrape_configs:
- job_name: 'nodeexporter'
scrape_interval: 5s
static_configs:
- targets: ['nodeexporter:9100']
- job_name: 'cadvisor'
scrape_interval: 5s
static_configs:
- targets: ['cadvisor:8080']
- job_name: 'prometheus'
scrape_interval: 10s
static_configs:
- targets: ['localhost:9090']
- job_name: 'pushgateway'
scrape_interval: 10s
honor_labels: true
static_configs:
- targets: ['pushgateway:9091']
# - job_name: 'geth-mainnet'
# scrape_interval: 10s
# honor_labels: true
# static_configs:
# - targets: ['geth-mainnet:6060']
#
# - job_name: 'geth-goerli'
# scrape_interval: 10s
# honor_labels: true
# static_configs:
# - targets: ['geth-goerli:6060']
#
# - job_name: 'geth-rinkeby'
# scrape_interval: 10s
# honor_labels: true
# static_configs:
# - targets: ['geth-rinkeby:6060']
#
# - job_name: 'geth-ropsten'
# scrape_interval: 10s
# honor_labels: true
# static_configs:
# - targets: ['geth-ropsten:6060']
alerting:
alertmanagers:
- scheme: http
static_configs:
- targets:
- 'alertmanager:9093'