MetricsExtensions Methods |
The MetricsExtensions type exposes the following members.
Name | Description | |
---|---|---|
CreateDriverMetricsProvider(IMetricsRoot) |
Creates a IDriverMetricsProvider based on AppMetrics with the provided IMetricsRoot.
| |
CreateDriverMetricsProvider(IMetricsRoot, DriverAppMetricsOptions) |
Creates a IDriverMetricsProvider based on AppMetrics with the provided IMetricsRoot.
| |
GetNodeCounter |
Utility method that wraps a call to GetNodeMetricTMetricType(Host, NodeMetric) with the appropriate AppMetrics based counter type
as the type parameter. For more information see the API docs of GetNodeMetricTMetricType(Host, NodeMetric).
| |
GetNodeGauge |
Utility method that wraps a call to GetNodeMetricTMetricType(Host, NodeMetric) with the appropriate AppMetrics based gauge type
as the type parameter. For more information see the API docs of GetNodeMetricTMetricType(Host, NodeMetric).
| |
GetNodeMeter |
Utility method that wraps a call to GetNodeMetricTMetricType(Host, NodeMetric) with the appropriate AppMetrics based meter type
as the type parameter. For more information see the API docs of GetNodeMetricTMetricType(Host, NodeMetric).
| |
GetNodeTimer |
Utility method that wraps a call to GetNodeMetricTMetricType(Host, NodeMetric) with the appropriate AppMetrics based timer type
as the type parameter. For more information see the API docs of GetNodeMetricTMetricType(Host, NodeMetric).
| |
GetSessionCounter |
Utility method that wraps a call to GetSessionMetricTMetricType(SessionMetric) with the appropriate AppMetrics based counter type
as the type parameter. For more information see the API docs of GetSessionMetricTMetricType(SessionMetric).
| |
GetSessionGauge |
Utility method that wraps a call to GetSessionMetricTMetricType(SessionMetric) with the appropriate AppMetrics based gauge type
as the type parameter. For more information see the API docs of GetSessionMetricTMetricType(SessionMetric).
| |
GetSessionMeter |
Utility method that wraps a call to GetSessionMetricTMetricType(SessionMetric) with the appropriate AppMetrics based meter type
as the type parameter. For more information see the API docs of GetSessionMetricTMetricType(SessionMetric).
| |
GetSessionTimer |
Utility method that wraps a call to GetSessionMetricTMetricType(SessionMetric) with the appropriate AppMetrics based timer type
as the type parameter. For more information see the API docs of GetSessionMetricTMetricType(SessionMetric).
| |
ToAppMetricsCounter |
Casts the provided counter to the counter implementation of this provider.
| |
ToAppMetricsGauge |
Casts the provided gauge to the gauge implementation of this provider.
| |
ToAppMetricsMeter |
Casts the provided meter to the meter implementation of this provider.
| |
ToAppMetricsTimer |
Casts the provided timer to the timer implementation of this provider.
|