Initial commit of sharable config
This commit is contained in:
83
prometheus/prometheus.yml
Normal file
83
prometheus/prometheus.yml
Normal file
@@ -0,0 +1,83 @@
|
||||
# =============================================================================
|
||||
# Prometheus Configuration
|
||||
# =============================================================================
|
||||
|
||||
global:
|
||||
# How often to scrape targets
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
# Attach these labels to every time series
|
||||
external_labels:
|
||||
monitor: "awesomemediaserver"
|
||||
|
||||
# =============================================================================
|
||||
# Rule files (empty for now — add alerting later if you want)
|
||||
# =============================================================================
|
||||
rule_files: []
|
||||
|
||||
# =============================================================================
|
||||
# Scrape configurations
|
||||
# =============================================================================
|
||||
scrape_configs:
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Prometheus self-metrics
|
||||
# ---------------------------------------------------------------------------
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets:
|
||||
- "prometheus:9090"
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Docker / Media stack services
|
||||
# (These assume all services are on the same docker networks)
|
||||
# Only include ports that actually expose /metrics
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# NOTE:
|
||||
# Most *arr apps (radarr/sonarr/lidarr/prowlarr) DO NOT expose Prometheus
|
||||
# metrics natively. Do NOT add them unless you use exporters.
|
||||
|
||||
# Autobrr (exposes /metrics by default)
|
||||
- job_name: autobrr
|
||||
static_configs:
|
||||
- targets:
|
||||
- "autobrr:7474"
|
||||
|
||||
# Jellyfin (native Prometheus endpoint)
|
||||
- job_name: jellyfin
|
||||
metrics_path: /metrics
|
||||
static_configs:
|
||||
- targets:
|
||||
- "jellyfin:8096"
|
||||
|
||||
# Navidrome (metrics endpoint)
|
||||
- job_name: navidrome
|
||||
metrics_path: /metrics
|
||||
static_configs:
|
||||
- targets:
|
||||
- "navidrome:4533"
|
||||
|
||||
# Cross-seed (metrics endpoint)
|
||||
- job_name: cross-seed
|
||||
metrics_path: /metrics
|
||||
static_configs:
|
||||
- targets:
|
||||
- "cross-seed:2468"
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Infrastructure (add later)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
node-exporter (host metrics)
|
||||
- job_name: node
|
||||
static_configs:
|
||||
- targets:
|
||||
- "node-exporter:9100"
|
||||
|
||||
cAdvisor (container metrics)
|
||||
- job_name: cadvisor
|
||||
static_configs:
|
||||
- targets:
|
||||
- "cadvisor:8080"
|
||||
Reference in New Issue
Block a user