Metrics interface

The monitoring metric.

Properties

dimensions

The metric dimensions.

endTime

The end time of the metric data.

name

The name of the metric.

primaryAggregation

The metric aggregation type.

resourceId

The ID of metric source.

startTime

The start time of the metric data.

timeGrain

The time granularity of the metric data.

type

The type of the metric data.

unit

The unit of the metric data.

values

The list of the metric data.

Property Details

dimensions

The metric dimensions.

dimensions?: MetricDimension[]

Property Value

endTime

The end time of the metric data.

endTime?: Date

Property Value

Date

name

The name of the metric.

name?: MetricName

Property Value

primaryAggregation

The metric aggregation type.

primaryAggregation?: MetricAggregationType

Property Value

resourceId

The ID of metric source.

resourceId?: string

Property Value

string

startTime

The start time of the metric data.

startTime?: Date

Property Value

Date

timeGrain

The time granularity of the metric data.

timeGrain?: string

Property Value

string

type

The type of the metric data.

type?: string

Property Value

string

unit

The unit of the metric data.

unit?: MetricUnit

Property Value

values

The list of the metric data.

values?: MetricData[]

Property Value