Class CassandraInstrumentationOptions
Instrumentation options that can be used in OpenTelemetryRequestTracker.
Inherited Members
Namespace: Cassandra.OpenTelemetry
Assembly: Cassandra.OpenTelemetry.dll
Syntax
public class CassandraInstrumentationOptions
Fields
DefaultBatchChildStatementLimit
Default value of BatchChildStatementLimit.
Declaration
public const int DefaultBatchChildStatementLimit = 5
Field Value
Type | Description |
---|---|
int |
Properties
BatchChildStatementLimit
The max number of statements from a BatchStatement that are added to the Database Statement tag. The default is defined in DefaultBatchChildStatementLimit.
This only applies if IncludeDatabaseStatement is true.
Declaration
public int BatchChildStatementLimit { get; set; }
Property Value
Type | Description |
---|---|
int |
IncludeDatabaseStatement
If true, includes the statement as a tag of the Activity. Default: false.
Declaration
public bool IncludeDatabaseStatement { get; set; }
Property Value
Type | Description |
---|---|
bool |