tulip / oplogtoredis

Publish MongoDB oplog entries to Redis
Apache License 2.0
38 stars 9 forks source link

Convert staleness and redis RTT metrics to histograms #83

Closed torywheelwright closed 1 month ago

torywheelwright commented 1 month ago

Replace the last_command_duration_seconds gauge with redis_command_duration_seconds, a histogram. Also partition it by shard ordinal. Add an additional metric, entry_staleness_seconds, which is like last_entry_staleness_seconds except that it's a histogram rather than a gauge.