An instance of Remote Dependency represents an interaction of the monitored component with a remote component/service like SQL or an HTTP endpoint.

interface IRemoteDependencyData {
    data: string;
    duration: string;
    id: string;
    measurements: any;
    name: string;
    properties: any;
    resultCode: string;
    success: boolean;
    target: string;
    type: string;
    ver: number;
}

Hierarchy (view full)

Implemented by

Properties

data: string

Command initiated by this dependency call. Examples are SQL statement and HTTP URL's with all query parameters.

duration: string

Request duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days.

id: string

Identifier of a dependency call instance. Used for correlation with the request telemetry item corresponding to this dependency call.

measurements: any

Collection of custom measurements.

name: string

Name of the command initiated with this dependency call. Low cardinality value. Examples are stored procedure name and URL path template.

properties: any

Collection of custom properties.

resultCode: string

Result code of a dependency call. Examples are SQL error code and HTTP status code.

success: boolean

Indication of successful or unsuccessful call.

target: string

Target site of a dependency call. Examples are server name, host address.

type: string

Dependency type name. Very low cardinality value for logical grouping of dependencies and interpretation of other fields like commandName and resultCode. Examples are SQL, Azure table, and HTTP.

ver: number

Schema version