Interface IMetricContextRegistry
Namespace:App.Metrics.Registry.Abstractions
Assembly:cs.temp.dll.dll
Syntax
public interface IMetricContextRegistry
Properties
Context
Declaration
Property Value
Type |
Description |
System.String |
|
DataProvider
Declaration
IMetricRegistryManager DataProvider { get; }
Property Value
Methods
Apdex<T>(ApdexOptions, MetricTags, Func<T>)
Declaration
IApdex Apdex<T>(ApdexOptions options, MetricTags tags, Func<T> builder)where T : IApdexMetric
Parameters
Type |
Name |
Description |
ApdexOptions |
options |
|
MetricTags |
tags |
|
System.Func<T> |
builder |
|
Returns
Type Parameters
Apdex<T>(ApdexOptions, Func<T>)
Declaration
IApdex Apdex<T>(ApdexOptions options, Func<T> builder)where T : IApdexMetric
Parameters
Type |
Name |
Description |
ApdexOptions |
options |
|
System.Func<T> |
builder |
|
Returns
Type Parameters
ClearAllMetrics()
Declaration
Counter<T>(CounterOptions, MetricTags, Func<T>)
Declaration
ICounter Counter<T>(CounterOptions options, MetricTags tags, Func<T> builder)where T : ICounterMetric
Parameters
Type |
Name |
Description |
CounterOptions |
options |
|
MetricTags |
tags |
|
System.Func<T> |
builder |
|
Returns
Type |
Description |
ICounter |
|
Type Parameters
Counter<T>(CounterOptions, Func<T>)
Declaration
ICounter Counter<T>(CounterOptions options, Func<T> builder)where T : ICounterMetric
Parameters
Type |
Name |
Description |
CounterOptions |
options |
|
System.Func<T> |
builder |
|
Returns
Type |
Description |
ICounter |
|
Type Parameters
Gauge<T>(GaugeOptions, MetricTags, Func<T>)
Declaration
IGauge Gauge<T>(GaugeOptions options, MetricTags tags, Func<T> builder)where T : IGaugeMetric
Parameters
Type |
Name |
Description |
GaugeOptions |
options |
|
MetricTags |
tags |
|
System.Func<T> |
builder |
|
Returns
Type Parameters
Gauge<T>(GaugeOptions, Func<T>)
Declaration
IGauge Gauge<T>(GaugeOptions options, Func<T> builder)where T : IGaugeMetric
Parameters
Type |
Name |
Description |
GaugeOptions |
options |
|
System.Func<T> |
builder |
|
Returns
Type Parameters
Histogram<T>(HistogramOptions, MetricTags, Func<T>)
Declaration
IHistogram Histogram<T>(HistogramOptions options, MetricTags tags, Func<T> builder)where T : IHistogramMetric
Parameters
Type |
Name |
Description |
HistogramOptions |
options |
|
MetricTags |
tags |
|
System.Func<T> |
builder |
|
Returns
Type |
Description |
IHistogram |
|
Type Parameters
Histogram<T>(HistogramOptions, Func<T>)
Declaration
IHistogram Histogram<T>(HistogramOptions options, Func<T> builder)where T : IHistogramMetric
Parameters
Type |
Name |
Description |
HistogramOptions |
options |
|
System.Func<T> |
builder |
|
Returns
Type |
Description |
IHistogram |
|
Type Parameters
Meter<T>(MeterOptions, MetricTags, Func<T>)
Declaration
IMeter Meter<T>(MeterOptions options, MetricTags tags, Func<T> builder)where T : IMeterMetric
Parameters
Type |
Name |
Description |
MeterOptions |
options |
|
MetricTags |
tags |
|
System.Func<T> |
builder |
|
Returns
Type Parameters
Meter<T>(MeterOptions, Func<T>)
Declaration
IMeter Meter<T>(MeterOptions options, Func<T> builder)where T : IMeterMetric
Parameters
Type |
Name |
Description |
MeterOptions |
options |
|
System.Func<T> |
builder |
|
Returns
Type Parameters
Timer<T>(TimerOptions, MetricTags, Func<T>)
Declaration
ITimer Timer<T>(TimerOptions options, MetricTags tags, Func<T> builder)where T : ITimerMetric
Parameters
Type |
Name |
Description |
TimerOptions |
options |
|
MetricTags |
tags |
|
System.Func<T> |
builder |
|
Returns
Type Parameters
Timer<T>(TimerOptions, Func<T>)
Declaration
ITimer Timer<T>(TimerOptions options, Func<T> builder)where T : ITimerMetric
Parameters
Type |
Name |
Description |
TimerOptions |
options |
|
System.Func<T> |
builder |
|
Returns
Type Parameters