'Declaration
Public 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 _ ) As SampledMetricDefinition
public static SampledMetricDefinition Register( string metricsSystem, string categoryName, string counterName, SamplingType samplingType, string unitCaption, string metricCaption, string description )
Parameters
- metricsSystem
- The metrics capture system label.
- categoryName
- The name of the category with which this definition is associated.
- counterName
- The name of the definition within the category.
- samplingType
- The sampling type of the sampled metric counter.
- unitCaption
- A displayable caption for the units this metric's values represent, 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.