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.
Holds the metric aggregation results of a particular metric data series over an aggregation time period. The specific data fields on instanced of this class are not strongly typed (property bag) which allows using this aggregate type for aggregates of any aggregation kind.
public class MetricAggregate
type MetricAggregate = class
Public Class MetricAggregate
|MetricAggregate(String, String, String)||
Ceates a new metric aggregate.
Gets the moniker defining the kind of the aggregation used for the respective metric.
Gets or sets the length of the aggregation period summarized by this aggregate.
Gets or sets the start of the aggregation period summarized by this aggregate.
Gets the property bag that contains the actual aggregate data. For example, if the aggregate was produced for a metric of the aggregation kind Measurement, the look-up key for this property bag are accessible via Microsoft.ApplicationInsights.Metrics.MetricSeriesConfigurationForMeasurement.Constants.AggregateKindDataKeys.
Gets get table of dimension name-values that specify the data series that produced this agregate within the overall metric.
Gets the id (name) of the metric that produced this aggregate.
Gets the namespace of the metric that produces this aggregate.
This is a convenience method to retrieve the object at
Submit and view feedback for