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
public Builder WithMetrics( IDriverMetricsProvider driverMetricsProvider )