Click or drag to resize

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
Assembly:  Dse.AppMetrics (in Dse.AppMetrics.dll) Version: 1.0.0
Syntax
C#
public DriverAppMetricsOptions SetHighestLatencyMilliseconds(
	int highestLatencyMilliseconds
)

Parameters

highestLatencyMilliseconds
Type: SystemInt32

Return Value

Type: DriverAppMetricsOptions
See Also