Class CounterMetric
Counter metric types track how many times something happens, they can incremented or decremented.
Counters represent a 64-bit integer value.
Counters provide the ability to track a counter for each item in a finite set, as well as tracking a per item count 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 count of each type of emails sent.
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 CounterMetric : MetricBase
Properties
Count
Declaration
public long Count { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Items
Declaration
public IEnumerable<CounterMetric.SetItem> Items { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<CounterMetric.SetItem> |