feat(v2/redis): use sub-millisecond histogram buckets for command duration

Parent Issue: #112 (closed)

Note

This MR is a follow up action for !497 (merged), please retarget to master after it is merged.

prometheus.DefBuckets (5ms–10s) are too coarse for Redis operations that typically complete in under a millisecond.

This commit adds RedisDurationBuckets to v2/metrics/buckets.go and uses them for the command_duration_seconds histogram in the redis metrics hook.

Merge request reports

Loading
Loading