Class MeterMetric
Meter metric types are increment-only counters that also measure the rate of events over time.
The mean rate is recorded, but is only generally used for trivia as it represents the total rate for the
lifetime of your application, not offering a sense of recency.
Other than the mean rate, meters also are recorded using three different exponentially-weighted moving average
rates, 1 min, 5 min and 15 min moving averages which do provide a sense of recency.
Meters also provide the ability to track the rate for each item in a finite set, as well as tracking a per item
rate the overall percentage is also recorded. This is useful for example if we needed to track the total
number of emails sent but also the rate at which each type of email is sent.
Inheritance
System.Object
MeterMetric
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Formatters.Json
Assembly:cs.temp.dll.dll
Syntax
public sealed class MeterMetric : MetricBase
Properties
Count
Declaration
public long Count { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
FifteenMinuteRate
Declaration
public double FifteenMinuteRate { get; set; }
Property Value
Type |
Description |
System.Double |
|
FiveMinuteRate
Declaration
public double FiveMinuteRate { get; set; }
Property Value
Type |
Description |
System.Double |
|
Items
Declaration
public IEnumerable<MeterMetric.SetItem> Items { get; set; }
Property Value
MeanRate
Declaration
public double MeanRate { get; set; }
Property Value
Type |
Description |
System.Double |
|
OneMinuteRate
Declaration
public double OneMinuteRate { get; set; }
Property Value
Type |
Description |
System.Double |
|
RateUnit
Declaration
public string RateUnit { get; set; }
Property Value
Type |
Description |
System.String |
|
See Also