App Metrics Fork me on GitHub
Show / Hide Table of Contents

Class TimerMetric

Timer metric types are essentially a special case of Histogram

As well as providing a Histogram of the duration of a type of event, timers also provide a MeterMetric of the rate of the events occurrence.

Like Histograms, timers also allow us to track user values, where for all user values provided the min, max and last user value values is recorded.

Inheritance
System.Object
MetricBase
TimerMetric
Inherited Members
MetricBase.Name
MetricBase.Tags
MetricBase.Unit
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 TimerMetric : MetricBase

Properties

ActiveSessions

Declaration
public long ActiveSessions { get; set; }
Property Value
Type Description
System.Int64

Count

Declaration
public long Count { get; set; }
Property Value
Type Description
System.Int64

DurationUnit

Declaration
public string DurationUnit { get; set; }
Property Value
Type Description
System.String

Histogram

Declaration
public TimerMetric.HistogramData Histogram { get; set; }
Property Value
Type Description
TimerMetric.HistogramData

Rate

Declaration
public TimerMetric.RateData Rate { get; set; }
Property Value
Type Description
TimerMetric.RateData

RateUnit

Declaration
public string RateUnit { get; set; }
Property Value
Type Description
System.String

See Also

MetricBase
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX