# Observability Data Sources Configuration
# These are internal URLs - never expose to external networks

prometheus:
  # Prometheus server URL (internal network)
  base_url: "http://prometheus:9090"
  
  # Allowed PromQL query prefixes (security)
  allow_promql_prefixes:
    - "sum("
    - "rate("
    - "histogram_quantile("
    - "avg("
    - "max("
    - "min("
    - "count("
    - "irate("
    - "last_over_time("
    - "present_over_time("

loki:
  # Loki log server URL (internal network)
  base_url: "http://loki:3100"

tempo:
  # Tempo trace server URL (internal network)
  base_url: "http://tempo:3200"

# Limits configuration
limits:
  # Maximum time window for queries (hours)
  max_time_window_hours: 24
  
  # Maximum series returned
  max_series: 200
  
  # Maximum points in range query
  max_points: 2000
  
  # Maximum bytes in response
  max_bytes: 300000
  
  # Query timeout (seconds)
  timeout_seconds: 5

# Environment variables (override URLs)
# PROMETHEUS_URL
# LOKI_URL
# TEMPO_URL
