MetricBase<T> class
Represents the base for a metric class.
public abstract class MetricBase<T>
| parameter | description |
|---|---|
| T | Type of the metric. |
Public Members
| name | description |
|---|---|
| IsEnabled { get; } | Gets a value indicating whether gets the value of the metric enabled. |
Protected Members
| name | description |
|---|---|
| MetricBase(…) | Initializes a new instance of the MetricBase class. |
| abstract DefaultName { get; } | Gets the default metric name. |
| Metric { get; } | Gets the metric instance. |
| abstract Create(…) | Creates a metric. |
See Also
- namespace Farfetch.LoadShedding.Prometheus.Metrics