Metrics
Dito exposes Prometheus metrics to monitor performance and behaviour.
Available Metrics
http_requests_total
– total number of HTTP requests processedhttp_request_duration_seconds
– duration histogramactive_connections
– number of active connectionsdata_transferred_bytes_total
– bytes transferred- Standard Go runtime and promhttp metrics
Configuration
Enable metrics in config.yaml
:
metrics:
enabled: true
path: "/metrics"