mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 01:26:18 -08:00
24 lines
665 B
YAML
24 lines
665 B
YAML
global:
|
|
scrape_interval: 15s # By default, scrape targets every 15 seconds.
|
|
|
|
# Attach these labels to any time series or alerts when communicating with
|
|
# external systems (federation, remote storage, Alertmanager).
|
|
external_labels:
|
|
monitor: 'restic-rest-server-demo'
|
|
|
|
scrape_configs:
|
|
- job_name: 'prometheus' # monitor self
|
|
scrape_interval: 5s
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|
|
|
|
- job_name: 'rest_server'
|
|
scrape_interval: 5s
|
|
# Uncomment these if you use auth and/or https
|
|
#basic_auth:
|
|
# username: test
|
|
# password: test
|
|
#scheme: https
|
|
static_configs:
|
|
- targets: ['restserver:8000']
|