Release v1.0.1
Prometheus was freed by the hero Heracles.
Heracles provides a Prometheus middleware for the go-chi router. It enables the collection of HTTP request metrics such as request counts, latencies, and detailed error metrics. The middleware is highly configurable using functional options.
Features
-
Request Count Metrics: Track the number of HTTP requests partitioned by status code, method, and path.
-
Latency Metrics: Measure the latency of HTTP requests.
-
Detailed Error Metrics: Track detailed client and server error metrics.
-
Custom Labels: Add custom labels to metrics.
-
Configurable Buckets: Configure latency histogram buckets.
Installation
go get github.com/hyp3rd/heracles