Class OrphanOptions
Inherited Members
Namespace: Couchbase.Core.Diagnostics.Tracing.OrphanResponseReporting
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class OrphanOptions
Properties
| Edit this page View SourceEmitInterval
The interval after which the aggregated information is logged.
Declaration
public TimeSpan EmitInterval { get; set; }
Property Value
Type | Description |
---|---|
Time |
Enabled
Enables orphaned response tracing. Defaults to enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
OrphanListener
Provides the means of registering a custom Trace
Declaration
public TraceListener OrphanListener { get; set; }
Property Value
Type | Description |
---|---|
Trace |
Remarks
It is suggested that the default Orphan
SampleSize
How many entries to sample per service in each emit interval.
Declaration
public uint SampleSize { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceWithEmitInterval(TimeSpan)
The interval after which the aggregated information is logged.
Declaration
public OrphanOptions WithEmitInterval(TimeSpan emitInterval)
Parameters
Returns
Type | Description |
---|---|
Orphan |
A Orphan |
WithEnabled(bool)
Enables orphaned response tracing.
Declaration
public OrphanOptions WithEnabled(bool enabled)
Parameters
Returns
Type | Description |
---|---|
Orphan |
A Orphan |
Remarks
Default is true.
WithSampleSize(uint)
How many entries to sample per service in each emit interval.
Declaration
public OrphanOptions WithSampleSize(uint sampleSize)
Parameters
Returns
Type | Description |
---|---|
Orphan |