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 foundationdb/ProxyCommitData.actor.h at 402fa4dd9e2151807fc8a89d6471f2da41e41d4a · apple/foundationdb · GitHub

and defined here foundationdb/ServerKnobs.cpp at 944ec484153c3a8c40dc6d8dd3b3e5f87563cb60 · apple/foundationdb · GitHub

with a default value of 60 seconds

1 Like