共用方式為


Metric Class

Definition

Database metrics.

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

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 step to be used to summarize the metric values.

Unit

Gets the unit of the metric. Possible values include: 'count', 'bytes', 'seconds', 'percent', 'countPerSecond', 'bytesPerSecond'

Applies to