Latency quantiles time window?

The latency statistics (such as, for example commit_latency_statistics for the proxy role) report quantiles (p25, p90, p95, p99, p99.9).

What’s the time window used to compute the quantiles? Is it “since the beginning of time” (since the process started)? If so, can it be reset?

I think its used here https://github.com/apple/foundationdb/blob/402fa4dd9e2151807fc8a89d6471f2da41e41d4a/fdbserver/ProxyCommitData.actor.h#L115

and defined here https://github.com/apple/foundationdb/blob/944ec484153c3a8c40dc6d8dd3b3e5f87563cb60/fdbclient/ServerKnobs.cpp#L813

with a default value of 60 seconds

1 Like