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 4 months ago

torywheelwright commented 4 months 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.