Class MetricValueWithSamplingOption
Configuration of a Metric that will be measured using a reservoir sampling type
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.Core.Options
Assembly:cs.temp.dll.dll
Syntax
public abstract class MetricValueWithSamplingOption : MetricValueOptionsBase
Properties
Reservoir
Gets or sets an
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.