DriverAppMetricsOptions Class |
Namespace: Dse.AppMetrics
public class DriverAppMetricsOptions
The DriverAppMetricsOptions type exposes the following members.
Name | Description | |
---|---|---|
DriverAppMetricsOptions | Initializes a new instance of the DriverAppMetricsOptions class |
Name | Description | |
---|---|---|
HighestLatencyMilliseconds |
See SetHighestLatencyMilliseconds(Int32) for information about this property.
| |
SignificantDigits |
See SetSignificantDigits(Int32) for information about this property.
| |
TimersTimeUnit |
See SetTimersTimeUnit(TimeUnit) for information about this property.
|
Name | Description | |
---|---|---|
SetHighestLatencyMilliseconds | 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. | |
SetSignificantDigits |
The number of significant decimal digits to which internal structures will maintain
value resolution and separation (for example, 3 means that recordings up to 1 second will be recorded with a
resolution of 1 millisecond or better).
This must be between 0 and 5. If the value is out of range, an exception is thrown.
| |
SetTimersTimeUnit |
Time unit to use for Timer metrics. This property defaults to Nanoseconds.
|