'Declaration
Public Overloads Shared Function Register( _ ByVal metricsSystem As String, _ ByVal categoryName As String, _ ByVal counterName As String, _ ByVal samplingType As SamplingType, _ ByVal unitCaption As String, _ ByVal metricCaption As String, _ ByVal description As String, _ ByVal instanceName As String _ ) As SampledMetric
public static SampledMetric Register( string metricsSystem, string categoryName, string counterName, SamplingType samplingType, string unitCaption, string metricCaption, string description, string instanceName )
Parameters
- metricsSystem
- The metrics capture system label.
- categoryName
- The name of the category with which this metric is associated.
- counterName
- The name of the metric definition within the category.
- samplingType
- The sampling type of this sampled metric counter.
- unitCaption
- A displayable caption for the units this metric samples, or null for unit-less values.
- metricCaption
- A displayable caption for this sampled metric counter.
- description
- An extended end-user description of this sampled metric counter.
- instanceName
- The unique name of this instance within the metric's collection (may be null).