Interface IMetricsRegistry
Namespace:App.Metrics.Registry.Abstractions
Assembly:cs.temp.dll.dll
Syntax
public interface IMetricsRegistry
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
Clear()
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
Disable()
Declaration
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
GetData(IFilterMetrics)
Declaration
MetricsDataValueSource GetData(IFilterMetrics filter)
Parameters
Type |
Name |
Description |
IFilterMetrics |
filter |
|
Returns
Type |
Description |
MetricsDataValueSource |
|
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
RemoveContext(String)
Declaration
void RemoveContext(string context)
Parameters
Type |
Name |
Description |
System.String |
context |
|
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