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

Class MetricValueWithSamplingOption

Configuration of a Metric that will be measured using a reservoir sampling type

Inheritance
System.Object
MetricValueOptionsBase
MetricValueWithSamplingOption
Inherited Members
MetricValueOptionsBase.Context
MetricValueOptionsBase.MeasurementUnit
MetricValueOptionsBase.Name
MetricValueOptionsBase.Tags
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.Core.Options
Assembly:cs.temp.dll.dll
Syntax
public abstract class MetricValueWithSamplingOption : MetricValueOptionsBase

Properties

Reservoir

Gets or sets an implementation for sampling.

Declaration
public Func<IReservoir> Reservoir { get; set; }
Property Value
Type Description
System.Func<IReservoir>

The reservoir instance to use for sampling.

Remarks

Reservoir sampling avoids unbound memory usage, allows metrics to be generated from a reservoir of values.

Back to top Copyright © 2017 Allan Hardy
Generated by DocFX