infra/prometheus/docker-compose/prometheus/prometheus-config/prometheus.yml
Schneider Roland 995c768654 add: prometheus
2024-10-25 16:54:00 +02:00

24 lines
577 B
YAML

global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
alerting:
alertmanagers:
- static_configs:
- targets: []
scheme: http
timeout: 10s
api_version: v1
scrape_configs:
- job_name: prometheus
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:9090
- job_name: infra # Change to whatever you like
static_configs:
- targets: ['192.168.2.66:9100'] #Change this to your server's IP