Click or drag to resize

BuilderWithMetrics Method (IDriverMetricsProvider)

Enables metrics. DataStax provides an implementation based on a third party library (App.Metrics) on a separate NuGet package: CassandraCSharpDriver.AppMetrics Alternatively, you can implement your own provider that implements IDriverMetricsProvider.

This method enables all individual metrics without a bucket prefix. To customize these options, use WithMetrics(IDriverMetricsProvider, DriverMetricsOptions).

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public Builder WithMetrics(
	IDriverMetricsProvider driverMetricsProvider
)

Parameters

driverMetricsProvider
Type: Dse.Metrics.AbstractionsIDriverMetricsProvider
Metrics Provider implementation.

Return Value

Type: Builder
This builder
See Also