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

Class HistogramMetric

Histogram metric types track the statistical distribution of a set of values. They allow you to measure the min, mean, max, standard deviation of values and also quantiles such as the median, 95th percentile, 98th percentile etc.

To avoid unbound memory usage, the histogram values are genreated from a of values. This is done by sampling the data as it goes through by maintaining a small manageable reservoir which is statistically representative of the data stream as a whole, allowing us to quickly calculate the quantiles which are valid approximations of the actual quantiles. https://en.wikipedia.org/wiki/Reservoir_sampling

Histograms 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
HistogramMetric
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 HistogramMetric : MetricBase

Properties

Count

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

LastUserValue

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

LastValue

Declaration
public double LastValue { get; set; }
Property Value
Type Description
System.Double

Max

Declaration
public double Max { get; set; }
Property Value
Type Description
System.Double

MaxUserValue

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

Mean

Declaration
public double Mean { get; set; }
Property Value
Type Description
System.Double

Median

Declaration
public double Median { get; set; }
Property Value
Type Description
System.Double

Min

Declaration
public double Min { get; set; }
Property Value
Type Description
System.Double

MinUserValue

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

Percentile75

Declaration
public double Percentile75 { get; set; }
Property Value
Type Description
System.Double

Percentile95

Declaration
public double Percentile95 { get; set; }
Property Value
Type Description
System.Double

Percentile98

Declaration
public double Percentile98 { get; set; }
Property Value
Type Description
System.Double

Percentile99

Declaration
public double Percentile99 { get; set; }
Property Value
Type Description
System.Double

Percentile999

Declaration
public double Percentile999 { get; set; }
Property Value
Type Description
System.Double

SampleSize

Declaration
public int SampleSize { get; set; }
Property Value
Type Description
System.Int32

StdDev

Declaration
public double StdDev { get; set; }
Property Value
Type Description
System.Double

Sum

Declaration
public double Sum { get; set; }
Property Value
Type Description
System.Double
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX