共用方式為


CosmosThresholdOptions.NonPointOperationLatencyThreshold Property

Definition

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