Interface IHistogram
A Histogram measures the distribution of values in a stream of data: e.g., the number of results returned by a search.
Namespace:App.Metrics.Histogram.Abstractions
Assembly:cs.temp.dll.dll
Syntax
public interface IHistogram : IResetableMetric
Methods
Update(Int64)
Records a value.
Declaration
void Update(long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | Value to be added to the histogram. |
Update(Int64, String)
Records a value.
Declaration
void Update(long value, string userValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | Value to be added to the histogram. |
System.String | userValue | A custom user value that will be associated to the results. Useful for tracking (for example) for which id the max or min value was recorded. |