MetricTelemetry
Class
Definition
Telemetry type used to track metrics.
public sealed class MetricTelemetry : Microsoft.ApplicationInsights.Channel.ITelemetry, Microsoft.ApplicationInsights.DataContracts.ISupportProperties
- Inheritance
-
MetricTelemetry
- Implements
Constructors
| MetricTelemetry() |
Initializes a new instance of the MetricTelemetry class with empty properties. |
| MetricTelemetry(String, Double) |
Initializes a new instance of the MetricTelemetry class with the
specified |
| MetricTelemetry(String, Int32, Double, Double, Double, Double) |
Initializes a new instance of the MetricTelemetry class with properties provided. |
Properties
| Context |
Gets the context associated with the current telemetry item. |
| Count |
Gets or sets the number of samples for this metric. |
| Max |
Gets or sets the max value of this metric. |
| Min |
Gets or sets the min value of this metric. |
| Name |
Gets or sets the name of the metric. |
| Properties |
Gets a dictionary of application-defined property names and values providing additional information about this metric. |
| Sequence |
Gets or sets the value that defines absolute order of the telemetry item. |
| StandardDeviation |
Gets or sets the standard deviation of this metric. |
| Sum |
Gets or sets sum of the values of the metric samples. |
| Timestamp |
Gets or sets date and time when event was recorded. |
| Value |
Gets or sets the value of this metric. |
Explicit Interface Implementations
| ITelemetry.Sanitize() |
Sanitizes the properties based on constraints. |
Extension Methods
| IsDefined(Object) | |
| IsNull(Object) | |
| IsPrimitive(Object) |