applicationinsights
Version:
Microsoft Application Insights module for Node.js
1 lines • 896 B
Source Map (JSON)
{"version":3,"file":"nodeHttpRequestTelemetry.js","sourceRoot":"","sources":["../../../../../src/declarations/contracts/telemetryTypes/nodeHttpRequestTelemetry.ts"],"names":[],"mappings":"","sourcesContent":["import { Telemetry } from \"./telemetry\";\r\nimport * as http from \"http\";\r\n\r\n/**\r\n * Object encapsulating information about the incoming HTTP request\r\n */\r\nexport interface NodeHttpRequestTelemetry extends Telemetry {\r\n /**\r\n * HTTP request object\r\n */\r\n request: http.IncomingMessage;\r\n\r\n /**\r\n * HTTP response object\r\n */\r\n response: http.ServerResponse;\r\n\r\n /**\r\n * HTTP request duration. Used only for synchronous tracks.\r\n */\r\n duration?: number;\r\n\r\n /**\r\n * Error that occurred while processing the request. Used only for synchronous tracks.\r\n */\r\n error?: any;\r\n}\r\n"]}