Releases: carousell/md-echo-prometheus-middleware
Releases · carousell/md-echo-prometheus-middleware
Update prometheus buckets
Update to 0.1, 0.2, 0.3, 0.5, 0.75, 1, 1.5, 2, 3, 5 to better capture slow requestswhile focusing on the typical range
Why This Range?
Starts at 0.1s: our mean response times (285-548 ms) suggest most requests are above 0.1s, so smaller buckets like 0.005s are likely underutilized.
Fine-grained up to 1s: Buckets like 0.1, 0.2, 0.3, 0.5, 0.75, 1 provide good granularity where most requests fall.
Wider spacing for slower requests: 1.5, 2, 3, 5 capture the tail, ensuring requests up to 15s (or even 20s) are tracked explicitly.
Total Buckets: 14, reducing metric cardinality.
Update library dependencies
Update library dependencies
Stable
Using official Prometheus module
for echo v4
Update init.go update to echo v4
for echo v3
v1.0.0 Update README.md