lite-rpc/prometheus.yml

14 lines
386 B
YAML

global:
scrape_interval: 15s # By default, scrape targets every 15 seconds.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'lite-rpc'
static_configs:
- targets: ['localhost:9500']