IDriverMetricsProvider Interface |
Namespace: Dse.Metrics.Abstractions
public interface IDriverMetricsProvider
The IDriverMetricsProvider type exposes the following members.
Name | Description | |
---|---|---|
Counter |
Creates a counter metric. bucket will contain the prefix configured with SetBucketPrefix(String),
session name and node's address. Node's address will only be in the bucket name when metric is a NodeMetric.
Implementations can call Equals(Object) to test if metric is a particular NodeMetric or SessionMetric.
| |
Gauge |
Creates a gauge metric. bucket will contain the prefix configured with SetBucketPrefix(String),
session name and node's address. Node's address will only be in the bucket name when metric is a NodeMetric.
Implementations can call Equals(Object) to test if metric is a particular NodeMetric or SessionMetric.
| |
Meter |
Creates a meter metric. bucket will contain the prefix configured with SetBucketPrefix(String),
session name and node's address. Node's address will only be in the bucket name when metric is a NodeMetric.
Implementations can call Equals(Object) to test if metric is a particular NodeMetric or SessionMetric.
| |
ShutdownMetricsBucket |
Shutdowns/Disposes metrics created with the provided bucket. This is especially useful to stop gauges which are supposed to run on a loop.
| |
Timer |
Creates a timer metric. bucket will contain the prefix configured with SetBucketPrefix(String),
session name and node's address. Node's address will only be in the bucket name when metric is a NodeMetric.
Implementations can call Equals(Object) to test if metric is a particular NodeMetric or SessionMetric.
|