minecraft-docker-server/monitoring/prometheus/prometheus.yml

20 lines
400 B
YAML
Raw Permalink Normal View History

2024-11-16 22:26:23 +01:00
global:
scrape_interval: 10s
scrape_configs:
# This instance scraper
- job_name: 'prometheus'
static_configs:
- targets:
- prometheus:9090
# Server Scrapers
- job_name: 'mc-server'
static_configs:
2024-11-27 01:19:44 +01:00
- targets: ['100.80.35.55:9100']
2024-11-16 22:26:23 +01:00
labels:
instance: 'Fallback'
2024-11-27 01:19:44 +01:00
- targets: ['100.99.68.47:9100']
2024-11-16 22:26:23 +01:00
labels:
instance: 'Main'