add fw and dirs control - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/260
This commit is contained in:
34
templates/prometheus.yaml
Normal file
34
templates/prometheus.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
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
|
||||
Reference in New Issue
Block a user