Class CouchbaseMeterProviderBuilderExtensions
Couchbase extensions for OpenTelemetry.Metrics.MeterProviderBuilder.
Inherited Members
Namespace: Couchbase.Extensions.Metrics.Otel
Assembly: Couchbase.Extensions.OpenTelemetry.dll
Syntax
public static class CouchbaseMeterProviderBuilderExtensions
Methods
| Edit this page View SourceAddCouchbaseInstrumentation(MeterProviderBuilder)
Add instrumentation for Couchbase to the metric builder.
Declaration
public static MeterProviderBuilder AddCouchbaseInstrumentation(this MeterProviderBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
MeterProviderBuilder | builder | The OpenTelemetry.Metrics.MeterProviderBuilder. |
Returns
Type | Description |
---|---|
MeterProviderBuilder | The OpenTelemetry.Metrics.MeterProviderBuilder. |
AddCouchbaseInstrumentation(MeterProviderBuilder, Action<CouchbaseMeterInstrumentationOptions>?)
Add instrumentation for Couchbase to the metric builder.
Declaration
public static MeterProviderBuilder AddCouchbaseInstrumentation(this MeterProviderBuilder builder, Action<CouchbaseMeterInstrumentationOptions>? setupAction)
Parameters
Type | Name | Description |
---|---|---|
MeterProviderBuilder | builder | The OpenTelemetry.Metrics.MeterProviderBuilder. |
Action<CouchbaseMeterInstrumentationOptions> | setupAction |
Returns
Type | Description |
---|---|
MeterProviderBuilder | The OpenTelemetry.Metrics.MeterProviderBuilder. |