mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 23:50:00 -07:00
12 lines
514 B
YAML
12 lines
514 B
YAML
global:
|
|
scrape_interval: 5s
|
|
evaluation_interval: 5s
|
|
|
|
# A scrape configuration containing exactly one endpoint to scrape:
|
|
scrape_configs:
|
|
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
|
- job_name: 'local-mochi' # you can name this however you want
|
|
scrape_interval: 5s # optionally override the global scrape_interval
|
|
static_configs:
|
|
- targets: [ 'localhost:6881' ] # provide the address of mochi's prometheus endpoint
|