mirror of
https://github.com/status-im/eth-rpc-proxy.git
synced 2026-08-27 09:41:08 +00:00
Combine connections metrics from stub_status and create status codes metrics. Expose everything under /metrics endpoint of eth-rpc-proxy. Remove the prometheus nginx metrics exporter since it is replaced.
37 lines
807 B
YAML
37 lines
807 B
YAML
global:
|
|
scrape_interval: 15s
|
|
|
|
rule_files:
|
|
- "prometheus-alerts.yml"
|
|
|
|
scrape_configs:
|
|
- job_name: 'health-checker'
|
|
static_configs:
|
|
- targets: ['health-checker:8082']
|
|
|
|
- job_name: 'rpc-proxy-metrics'
|
|
static_configs:
|
|
- targets: ['rpc-proxy-metrics:8080']
|
|
scrape_interval: 5s
|
|
metrics_path: '/metrics'
|
|
|
|
- job_name: 'auth-service'
|
|
static_configs:
|
|
- targets: ['auth-service:8081']
|
|
scrape_interval: 5s
|
|
metrics_path: '/metrics'
|
|
|
|
- job_name: 'nginx-cache-metrics'
|
|
static_configs:
|
|
- targets: ['rpc-proxy:8080']
|
|
scrape_interval: 30s
|
|
metrics_path: '/metrics/cache'
|
|
scheme: http
|
|
|
|
- job_name: 'cache-service'
|
|
static_configs:
|
|
- targets: ['cache-service:8099']
|
|
scrape_interval: 15s
|
|
metrics_path: '/metrics'
|
|
scheme: http
|