Click or drag to resize

MetricsExtensions Class

Extension methods to integrate App.Metrics with the DataStax Enterprise C# Driver.
Inheritance Hierarchy
SystemObject
  DseMetricsExtensions

Namespace:  Dse
Assembly:  Dse.AppMetrics (in Dse.AppMetrics.dll) Version: 1.0.0
Syntax
C#
public static class MetricsExtensions

The MetricsExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateDriverMetricsProvider(IMetricsRoot)
Creates a IDriverMetricsProvider based on AppMetrics with the provided IMetricsRoot.
Public methodStatic memberCreateDriverMetricsProvider(IMetricsRoot, DriverAppMetricsOptions)
Creates a IDriverMetricsProvider based on AppMetrics with the provided IMetricsRoot.
Public methodStatic memberGetNodeCounter
Public methodStatic memberGetNodeGauge
Public methodStatic memberGetNodeMeter
Public methodStatic memberGetNodeTimer
Public methodStatic memberGetSessionCounter
Public methodStatic memberGetSessionGauge
Public methodStatic memberGetSessionMeter
Public methodStatic memberGetSessionTimer
Public methodStatic memberToAppMetricsCounter
Casts the provided counter to the counter implementation of this provider.
Public methodStatic memberToAppMetricsGauge
Casts the provided gauge to the gauge implementation of this provider.
Public methodStatic memberToAppMetricsMeter
Casts the provided meter to the meter implementation of this provider.
Public methodStatic memberToAppMetricsTimer
Casts the provided timer to the timer implementation of this provider.
Top
See Also

Reference