DriverAppMetricsOptionsSetHighestLatencyMilliseconds Method |
The largest latency that we expect to record.
This should be slightly higher than ReadTimeoutMillis and WithQueryTimeout(Int32) (in theory, readings can't be higher than the timeout, but there might be a small overhead due to internal scheduling).
This is used to scale internal data structures. If a higher recording is encountered at runtime, it is discarded and a warning is logged.
This property defaults to 30000 milliseconds, i.e., 30 seconds.
Namespace: Dse.AppMetrics
public DriverAppMetricsOptions SetHighestLatencyMilliseconds( int highestLatencyMilliseconds )