1 | /// <reference types="node" />
|
2 | /// <reference types="node" />
|
3 | import { Telemetry } from "./telemetry";
|
4 | import * as http from "http";
|
5 | import * as https from "https";
|
6 | /**
|
7 | * Object encapsulating information about the outgoing request
|
8 | */
|
9 | export interface NodeHttpDependencyTelemetry extends Telemetry {
|
10 | /**
|
11 | * Request options that will be used to instrument outgoing request
|
12 | */
|
13 | options: string | URL | http.RequestOptions | https.RequestOptions;
|
14 | /**
|
15 | * Outgoing HTTP request object
|
16 | */
|
17 | request: http.ClientRequest;
|
18 | }
|