Interface IMetricsRegistry<TMetric>
Metrics Registry.
Namespace: Cassandra.Metrics
Assembly: Cassandra.dll
Syntax
public interface IMetricsRegistry<TMetric> where TMetric : IMetric
Type Parameters
Name | Description |
---|---|
TMetric | Should be NodeMetric out SessionMetric. |
Properties
Counters
Dictionary with counter metrics.
Declaration
IReadOnlyDictionary<TMetric, IDriverCounter> Counters { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<TMetric, IDriverCounter> |
Gauges
Dictionary with gauge metrics.
Declaration
IReadOnlyDictionary<TMetric, IDriverGauge> Gauges { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<TMetric, IDriverGauge> |
Meters
Dictionary with meter metrics.
Declaration
IReadOnlyDictionary<TMetric, IDriverMeter> Meters { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<TMetric, IDriverMeter> |
Metrics
Dictionary with metrics of all types. The values can be cast to the appropriate type interface (or the implementation that is provider specific).
Declaration
IReadOnlyDictionary<TMetric, IDriverMetric> Metrics { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<TMetric, IDriverMetric> |
Timers
Dictionary with timer metrics.
Declaration
IReadOnlyDictionary<TMetric, IDriverTimer> Timers { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<TMetric, IDriverTimer> |