Click or drag to resize

DseClusterBuilderWithMetrics Method (IDriverMetricsProvider)

Enables metrics. DataStax provides an implementation based on a third party library (App.Metrics) on a separate NuGet package: Dse.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 DseClusterBuilder WithMetrics(
	IDriverMetricsProvider driverMetricsProvider
)

Parameters

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

Return Value

Type: DseClusterBuilder
This builder
See Also