Interface IMetricsRegistry<TMetric>
Metrics Registry.
Namespace: Dse.Metrics
Assembly: Dse.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 |
---|---|
System.Collections.Generic.IReadOnlyDictionary<TMetric, IDriverCounter> |
Gauges
Dictionary with gauge metrics.
Declaration
IReadOnlyDictionary<TMetric, IDriverGauge> Gauges { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyDictionary<TMetric, IDriverGauge> |
Meters
Dictionary with meter metrics.
Declaration
IReadOnlyDictionary<TMetric, IDriverMeter> Meters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.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 |
---|---|
System.Collections.Generic.IReadOnlyDictionary<TMetric, IDriverMetric> |
Timers
Dictionary with timer metrics.
Declaration
IReadOnlyDictionary<TMetric, IDriverTimer> Timers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyDictionary<TMetric, IDriverTimer> |