Files
threadnet-operating/monitoring/prometheus/prometheus.yml
T

43 lines
1.0 KiB
YAML
Raw Normal View History

global:
scrape_interval: 15s
# local metrics
scrape_configs:
## operating server
- job_name: "operating_prometheus"
static_configs:
- targets: ["localhost:9090"]
- job_name: "operating_node-exporter"
static_configs:
- targets: ["node-exporter:9100"]
- job_name: "operating_cadvisor"
static_configs:
- targets: ["cadvisor:8080"]
- job_name: "operating_traefik"
metrics_path: "/metrics"
static_configs:
- targets: ["traefik:8080"]
- job_name: "k3s_host_node"
static_configs:
- targets: ["10.0.0.2:9100"]
labels:
instance: "k3s-host"
- job_name: "pterodactyl_host_node"
static_configs:
- targets: ["157.90.155.206:9100"]
labels:
instance: "pterodactyl"
- job_name: "gameserver_cadvisor"
static_configs:
- targets: ["157.90.155.206:8080"]
## matrix server (auskommentiert, aber jetzt syntaktisch korrekt eingerückt)
# - job_name: "matrix_prometheus"
# static_configs:
# - targets: ["matrix-server-ip:9090"]