34 lines
735 B
Plaintext
34 lines
735 B
Plaintext
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: <%= @ps_auth_user %>
|
|
password: <%= @ps_auth_pass %>
|
|
remote_write:
|
|
- url: "http://localhost:9090/api/v1/write"
|
|
basic_auth:
|
|
username: <%= @ps_auth_user %>
|
|
password: <%= @ps_auth_pass %> |