UNPKG

applicationinsights

Version:

Microsoft Application Insights module for Node.js

1 lines 1.62 kB
{"version":3,"file":"dependencyTelemetry.js","sourceRoot":"","sources":["../../../../../src/declarations/contracts/telemetryTypes/dependencyTelemetry.ts"],"names":[],"mappings":"","sourcesContent":["import { Telemetry } from \"./telemetry\";\r\n\r\n/**\r\n * Telemetry about the call to remote component\r\n */\r\nexport interface DependencyTelemetry extends Telemetry {\r\n /** Identifier of a dependency call instance. Used for correlation with the request telemetry item corresponding to this dependency call. */\r\n id?: string;\r\n /** Name of the command initiated with this dependency call. Low cardinality value. Examples are stored procedure name and URL path template. */\r\n name: string;\r\n /** Result code of a dependency call. Examples are SQL error code and HTTP status code. */\r\n resultCode?: string | number;\r\n /** Command initiated by this dependency call. Examples are SQL statement and HTTP URL with all query parameters. */\r\n data?: string;\r\n /** 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. */\r\n dependencyTypeName?: string;\r\n /** Target site of a dependency call. Examples are server name, host address. */\r\n target?: string;\r\n /** Remote call duration in ms. */\r\n duration: number;\r\n /** Indication of successful or unsuccessful call. */\r\n success?: boolean;\r\n /** Collection of custom measurements. */\r\n measurements?: { [propertyName: string]: number };\r\n}\r\n"]}