Dela via


Metric Class

Definition

Metric data

public class Metric
type Metric = class
Public Class Metric
Inheritance
Metric
Derived

Constructors

Metric()

Initializes a new instance of the Metric class.

Metric(Nullable<DateTime>, Nullable<DateTime>, String, UnitType, MetricName, IList<MetricValue>)

Initializes a new instance of the Metric class.

Properties

EndTime

Gets the end time for the metric (ISO-8601 format).

MetricValues

Gets the metric values for the specified time window and timestep.

Name

Gets the name information for the metric.

StartTime

Gets the start time for the metric (ISO-8601 format).

TimeGrain

Gets the time grain to be used to summarize the metric values.

Unit

Gets or sets the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'

Applies to