• will be removed in future releases as this was only used by the applicationinsights-channel-js package. And it no longer uses this class.

Implements

Constructors

  • Constructs a new instance of the RemoteDependencyData object

    Parameters

    • logger: IDiagnosticLogger
    • id: string
    • absoluteUrl: string
    • commandName: string
    • value: number
    • success: boolean
    • resultCode: number
    • Optionalmethod: string
    • requestAPI: string = "Ajax"
    • OptionalcorrelationContext: string
    • Optionalproperties: Object
    • Optionalmeasurements: Object

    Returns RemoteDependencyData

Properties

aiDataContract: {
    commandName: FieldType;
    count: FieldType;
    data: FieldType;
    dependencyKind: FieldType;
    dependencySource: FieldType;
    dependencyTypeName: FieldType;
    duration: FieldType;
    id: FieldType;
    kind: FieldType;
    max: FieldType;
    measurements: FieldType;
    min: FieldType;
    name: FieldType;
    properties: FieldType;
    resultCode: FieldType;
    stdDev: FieldType;
    success: FieldType;
    target: FieldType;
    type: FieldType;
    value: FieldType;
    ver: FieldType;
} = ...

The set of fields for a serializable object. This defines the serialization order and a value of true/false for each field defines whether the field is required or not.

data: string

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

dataType: string = RemoteDependencyDataType

Use the constant RemoteDependencyDataType instead.

duration: string

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

envelopeType: string = RemoteDependencyEnvelopeType

Use the constant RemoteDependencyEnvelopeType instead.

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