CosmosThresholdOptions.PointOperationLatencyThreshold 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 1 second. Point Operations are: (ReadItem, CreateItem, UpsertItem, ReplaceItem, PatchItem or DeleteItem)
public TimeSpan PointOperationLatencyThreshold { get; set; }
member this.PointOperationLatencyThreshold : TimeSpan with get, set
Public Property PointOperationLatencyThreshold As TimeSpan
Property Value
1 second
Applies to
Azure SDK for .NET