cockroachdb / cockroachdb/cockroach

gossip: observability for gossip latency

Open
#116,831 0 comments 0 reactions 0 assignees View on GitHub
A-kv-gossip C-enhancement O-support P-3 T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

There are currently no metrics for Gossip latency. This is important, for example because it affects liveness -- if gossip is too slow, liveness won't be propagated fast enough and nodes will try to force re-election.

One idea is to export a latency histogram on each receiver. Every message has a sender timestamp and we could compare that with the receiver's clock to get an estimate of the latency.

Jira issue: CRDB-34799

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.