interface IMetricTelemetry {
    average: number;
    iKey?: string;
    max?: number;
    measurements?: {
        [key: string]: number;
    };
    min?: number;
    name: string;
    properties?: {
        [key: string]: any;
    };
    sampleCount?: number;
    stdDev?: number;
}

Hierarchy

  • IPartC
    • IMetricTelemetry

Properties

average: number

(required) - Recorded value/average for this metric

iKey?: string

custom defined iKey

max?: number

(optional) The largest measurement in the sample. Defaults to the average.

max=average
measurements?: {
    [key: string]: number;
}

Property bag to contain additional custom measurements (Part C)

-- please use properties instead

min?: number

(optional) The smallest measurement in the sample. Defaults to the average

min=average
name: string

(required) - name of this metric

properties?: {
    [key: string]: any;
}

Property bag to contain additional custom properties (Part C)

sampleCount?: number

(optional) Number of samples represented by the average.

sampleCount=1
stdDev?: number

(optional) The standard deviation measurement in the sample, Defaults to undefined which results in zero.