DriverAppMetricsOptions Methods |
The DriverAppMetricsOptions type exposes the following members.
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.
|