Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / SampledMetricDefinition Class
Properties Methods


In This Topic
    SampledMetricDefinition Class Members
    In This Topic

    The following tables list the members exposed by SampledMetricDefinition.

    Public Properties
     NameDescription
    Public PropertyWhen bound, indicates the exact interface or object type that was bound.  
    Public PropertyA short display string for this metric definition, suitable for end-user display.  
    Public PropertyThe category of this metric for display purposes. This can be a period delimited string to represent a variable height hierarchy.  
    Public PropertyThe display name of this metric (unique within the category name).  
    Public PropertyA description of what is tracked by this metric, suitable for end-user display.  
    Public PropertyThe unique Id of this sampled metric definition. This can reliably be used as a key to refer to this item, within the same session which created it.  
    Public PropertyThe recommended default display interval for graphing.  
    Public PropertyIndicates if this definition is configured to retrieve its information directly from an object.  
    Public PropertyIndicates that this sampled metric definition has been registered and can not be altered (always true for sampled metric definitions).  
    Public PropertyThe three-part key of the metric definition being captured, as a single string.  
    Public PropertyThe metric capture system label under which this metric definition was created.  
    Public PropertyIndicates whether a final value can be determined from just one sample or if two comparable samples are required.  
    Public PropertyThe intended method of interpreting the sampled counter value.  
    Public PropertyThe display caption for the units this metric's values represent, or null for unit-less values.  
    Top
    Public Methods
     NameDescription
    Public MethodCompare this custom sampled metric definition with another to determine if they are identical.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Determines whether the collection of all metric definitions contains an element with the specified key.  
    Public MethodOverloaded. Determines if the provided object is identical to this object.  
    Public Methodstatic (Shared in Visual Basic)Checks the provided Type against the list of recognized numeric types and special types supported for SampledMetric data.  
    Public Methodstatic (Shared in Visual Basic)Find or create a sampled metric definition from the specified parameters.  
    Public Methodstatic (Shared in Visual Basic)Checks the provided SamplingType enum value to determine if that sampling type requires two values per sample.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Retrieve a SampledMetricDefinition by its Id, if present. (Throws an ArgumentException if the Id resolves to an EventMetricDefinition instead.)  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Sample every sampled metric defined by SampledMetric and SampledMetricValue attributes on the provided data object at any interface or inheritance level.  
    Public MethodOverloaded. Write a metric sample to the specified metric instance with the provided data, for non-fraction sampling types.  
    Top
    See Also