gcx/blockchain/chain-monitor/prometheus/prometheus.yml

57 lines
1.2 KiB
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
- "alert-rules.yml"
alerting:
alertmanagers:
- static_configs:
- targets: ["alertmanager:9093"]
scrape_configs:
# CometBFT 共识指标
- job_name: "cometbft"
static_configs:
- targets:
- "genex-node-1:26660"
- "genex-node-2:26660"
- "genex-node-3:26660"
- "genex-node-4:26660"
- "genex-node-5:26660"
# EVM 指标
- job_name: "evm"
static_configs:
- targets: ["genex-node-1:6065"]
# 企业API
- job_name: "enterprise-api"
static_configs:
- targets: ["enterprise-api:3020"]
metrics_path: "/metrics"
# Gas Relayer
- job_name: "gas-relayer"
static_configs:
- targets: ["gas-relayer:3022"]
metrics_path: "/metrics"
# Bridge Monitor
- job_name: "bridge-monitor"
static_configs:
- targets: ["bridge-monitor:3024"]
metrics_path: "/metrics"
# Faucet
- job_name: "faucet"
static_configs:
- targets: ["faucet:3023"]
metrics_path: "/metrics"
# Node Exporter (系统指标)
- job_name: "node-exporter"
static_configs:
- targets: ["node-exporter:9100"]