CosmosThresholdOptions.NonPointOperationLatencyThreshold Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Can be used to define custom latency thresholds. When the latency threshold is exceeded more detailed diagnostics will be emitted (including the request diagnostics). There is some overhead of emitting the more detailed diagnostics - so recommendation is to choose latency thresholds that reduce the noise level and only emit detailed diagnostics when there is really business impact seen. The default value for the point operation latency threshold is 3 seconds. all operations except (ReadItem, CreateItem, UpsertItem, ReplaceItem, PatchItem or DeleteItem)
public TimeSpan NonPointOperationLatencyThreshold { get; set; }
member this.NonPointOperationLatencyThreshold : TimeSpan with get, set
Public Property NonPointOperationLatencyThreshold As TimeSpan
Property Value
3 seconds
Applies to
Azure SDK for .NET