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

20 lines
403 B
YAML

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:
- targets: ['100.113.167.128:9100']
labels:
instance: 'Fallback'
- targets: ['100.80.35.55:9100']
labels:
instance: 'Main'