# Common Monitoring Schema
# Shared observability configuration for all services

{
  prometheus_enabled | Bool | doc "Enable Prometheus metrics collection" | default = false,
  log_level | String | doc "Log level: trace, debug, info, warn, error" | default = "info",
  tracing_enabled | Bool | doc "Enable distributed tracing (OpenTelemetry)" | default = false,
  metrics_path | String | doc "Prometheus metrics endpoint path" | default = "/metrics",

  logging = {
    format | String | doc "Log format: json, text" | default = "text",
    outputs | Array String | doc "Log outputs: stdout, file, syslog" | default = ["stdout"],
  },

  metrics = {
    enabled | Bool | doc "Enable metrics collection" | default = false,
    interval | Number | doc "Metrics collection interval in seconds" | default = 60,
  },
}
