Class MeterValueSource
Combines the value of the meter with the defined unit and the rate unit at which the value is reported.
Inheritance
System.Object
MeterValueSource
Namespace:App.Metrics.Meter
Assembly:cs.temp.dll.dll
Syntax
public sealed class MeterValueSource : MetricValueSourceBase<MeterValue>
Constructors
MeterValueSource(String, IMetricValueProvider<MeterValue>, Unit, TimeUnit, MetricTags)
Declaration
public MeterValueSource(string name, IMetricValueProvider<MeterValue> value, Unit unit, TimeUnit rateUnit, MetricTags tags)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
IMetricValueProvider<MeterValue> | value | |
Unit | unit | |
TimeUnit | rateUnit | |
MetricTags | tags |
Properties
RateUnit
Declaration
public TimeUnit RateUnit { get; }
Property Value
Type | Description |
---|---|
TimeUnit |