39 lines
949 B
YAML
39 lines
949 B
YAML
# Prometheus configuration stub — HexaHost GameCloud
|
|
# Mount this file when enabling the optional Prometheus service in production compose.
|
|
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets: ["localhost:9090"]
|
|
|
|
- job_name: api
|
|
metrics_path: /metrics
|
|
static_configs:
|
|
- targets: ["api:3001"]
|
|
# Requires OpenTelemetry Prometheus exporter in Phase 9
|
|
|
|
- job_name: worker
|
|
metrics_path: /metrics
|
|
static_configs:
|
|
- targets: ["worker:3002"]
|
|
|
|
- job_name: node-agent
|
|
metrics_path: /metrics
|
|
static_configs:
|
|
- targets: []
|
|
# Populated per game node; agents expose metrics on management interface
|
|
|
|
- job_name: postgres
|
|
static_configs:
|
|
- targets: []
|
|
# Use postgres_exporter sidecar in production
|
|
|
|
- job_name: redis
|
|
static_configs:
|
|
- targets: []
|
|
# Use redis_exporter sidecar in production
|