0.3.0
๐ Dito 0.3.0 - Prometheus Metrics Support
What's New:
- Added Prometheus metrics support: Dito now exposes various metrics for monitoring the proxy's performance and behavior, including custom metrics for HTTP requests, duration, active connections, and data transfer.
- Standard Go and Prometheus metrics: Enabled automatic collection of Go runtime metrics (memory, garbage collection, goroutines) and Prometheus HTTP handler metrics.
Enhancements:
- Configurable metrics support: Metrics can be enabled or disabled via the
config.yaml
file. The default metrics path is/metrics
. - Detailed monitoring: Added custom metrics:
http_requests_total
: Tracks the total number of HTTP requests processed.http_request_duration_seconds
: Measures the duration of HTTP requests.active_connections
: Indicates the number of active connections.data_transferred_bytes_total
: Monitors the amount of data transferred, partitioned by direction (inbound or outbound).
How to Use:
- Enable metrics in the configuration:
metrics: enabled: true path: "/metrics"
Please test this feature in your environments and report any issues.
Feedback and contributions are welcome.