Interface IMeasureHistogramMetrics
Provides access to the API allowing Histogram Metrics to be measured/recorded.
Namespace:App.Metrics.Histogram.Abstractions
Assembly:cs.temp.dll.dll
Syntax
public interface IMeasureHistogramMetrics
Methods
Update(HistogramOptions, MetricTags, Int64)
Updates a
Declaration
void Update(HistogramOptions options, MetricTags tags, long value)
Parameters
Type | Name | Description |
---|---|---|
HistogramOptions | options | The details of the histogram that is being measured |
MetricTags | tags | The runtime tags to set in addition to those defined on the options, this will create a separate metric per unique |
System.Int64 | value | The value to be added to the histogram. |
Update(HistogramOptions, MetricTags, Int64, String)
Updates a
Declaration
void Update(HistogramOptions options, MetricTags tags, long value, string userValue)
Parameters
Type | Name | Description |
---|---|---|
HistogramOptions | options | The details of the histogram that is being measured |
MetricTags | tags | The runtime tags to set in addition to those defined on the options, this will create a separate metric per unique |
System.Int64 | value | The value to be added to the histogram. |
System.String | userValue | The user value to track where a Min, Max and Last duration is recorded. |
Update(HistogramOptions, Int64)
Updates a
Declaration
void Update(HistogramOptions options, long value)
Parameters
Type | Name | Description |
---|---|---|
HistogramOptions | options | The details of the histogram that is being measured |
System.Int64 | value | The value to be added to the histogram. |
Update(HistogramOptions, Int64, String)
Updates a
Declaration
void Update(HistogramOptions options, long value, string userValue)
Parameters
Type | Name | Description |
---|---|---|
HistogramOptions | options | The details of the histogram that is being measured |
System.Int64 | value | The value to be added to the histogram. |
System.String | userValue | The user value to track where a Min, Max and Last duration is recorded. |