MetricIdentifier Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A metric identifier encapsulates all information required to uniquely identify a metric. A metric is identified by its name/id, its namespace and the names of its dimensions.
public sealed class MetricIdentifier : IEquatable<Microsoft.ApplicationInsights.Metrics.MetricIdentifier>
type MetricIdentifier = class
interface IEquatable<MetricIdentifier>
Public NotInheritable Class MetricIdentifier
Implements IEquatable(Of MetricIdentifier)
- Inheritance
-
MetricIdentifier
- Implements
Constructors
Fields
MaxDimensionsCount |
@Max number of dimensions supported. |
Properties
DefaultMetricNamespace |
Gets or sets the namespace used for metrics of no namespace was explicitly speified. |
DimensionsCount |
Gets the dimensionality of this metric. |
MetricId |
Gets the ID (name) of this metric. |
MetricNamespace |
Gets the namespace of this metric. |
Methods
Equals(MetricIdentifier) |
Determines whether the specified object is a |
Equals(Object) |
Determines whether the specified object is a |
GetDimensionName(Int32) |
Gets the name of a dimension identified by the specified 1-based dimension index. For zero-dimensional metrics, this method will always fail. |
GetDimensionNames() |
Get an enumeration of the dimension names contained in this identity. The enumeration will have |
GetHashCode() |
Gets the hash code for this |
ToString() |
Gets a string version of this identifier. |