# Metrics Feature Configuration # # This configuration controls Prometheus metrics collection and monitoring. # Metrics are exposed at GET /metrics in Prometheus format. # This file is loaded ONLY if [server.features.metrics].enabled = true in the main config. # (The enabled flag is set in the main lifecycle-api-config.toml file) [metrics] # Metrics endpoint path (relative to server root) metrics_path = "/metrics" # Histogram buckets for request duration (in milliseconds) # These buckets track request latency distribution request_duration_buckets = [1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000] # Enable detailed request tracing (logs every request) trace_requests = false # Enable performance metrics collection collect_performance_metrics = true # Enable memory usage tracking track_memory = true