34 lines
871 B
YAML
34 lines
871 B
YAML
global:
|
|
scrape_interval: 60s
|
|
scrape_timeout: 10s
|
|
evaluation_interval: 15s
|
|
storage:
|
|
tsdb:
|
|
out_of_order_time_window: 5m
|
|
alerting:
|
|
alertmanagers:
|
|
- follow_redirects: true
|
|
scheme: http
|
|
timeout: 10s
|
|
api_version: v2
|
|
static_configs:
|
|
- targets: []
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
honor_timestamps: true
|
|
scrape_interval: 60s
|
|
scrape_timeout: 10s
|
|
metrics_path: /metrics
|
|
scheme: http
|
|
follow_redirects: true
|
|
static_configs:
|
|
- targets:
|
|
- localhost:9090
|
|
basic_auth:
|
|
username_file: /etc/prometheus/secrets/prometheus-auth/username
|
|
password_file: /etc/prometheus/secrets/prometheus-auth/password
|
|
remote_write:
|
|
- url: "http://localhost:9090/api/v1/write"
|
|
basic_auth:
|
|
username_file: /etc/prometheus/secrets/prometheus-auth/username
|
|
password_file: /etc/prometheus/secrets/prometheus-auth/password |