Class BuilderExtensions
Builder extension methods related to OpenTelemetry implementation.
Inherited Members
Namespace: Cassandra.OpenTelemetry
Assembly: Cassandra.OpenTelemetry.dll
Syntax
public static class BuilderExtensions
Methods
WithOpenTelemetryInstrumentation(Builder)
Adds OpenTelemetry instrumentation to the Builder.
Declaration
public static Builder WithOpenTelemetryInstrumentation(this Builder builder)
Parameters
| Type | Name | Description |
|---|---|---|
| Builder | builder | The Builder. |
Returns
| Type | Description |
|---|---|
| Builder |
WithOpenTelemetryInstrumentation(Builder, Action<CassandraInstrumentationOptions>)
Adds OpenTelemetry instrumentation to the Builder.
Declaration
public static Builder WithOpenTelemetryInstrumentation(this Builder builder, Action<CassandraInstrumentationOptions> options)
Parameters
| Type | Name | Description |
|---|---|---|
| Builder | builder | The Builder. |
| Action<CassandraInstrumentationOptions> | options | An action with CassandraInstrumentationOptions to be included in the instrumentation. |
Returns
| Type | Description |
|---|---|
| Builder |