From 6af3a4d72a4352cb6011431da9bb598ee603760b Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 22 Feb 2023 08:14:11 +0100 Subject: [PATCH] chore: remove unused argument --- .../packages/opentelemetry-instrumentation-http/src/http.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/experimental/packages/opentelemetry-instrumentation-http/src/http.ts b/experimental/packages/opentelemetry-instrumentation-http/src/http.ts index 23a3d2ee98d..ca5e3e8382b 100644 --- a/experimental/packages/opentelemetry-instrumentation-http/src/http.ts +++ b/experimental/packages/opentelemetry-instrumentation-http/src/http.ts @@ -300,14 +300,12 @@ export class HttpInstrumentation extends InstrumentationBase { * Attach event listeners to a client request to end span and add span attributes. * * @param request The original request object. - * @param options The arguments to the original function. * @param span representing the current operation * @param startTime representing the start time of the request to calculate duration in Metric * @param metricAttributes metric attributes */ private _traceClientRequest( request: http.ClientRequest, - hostname: string, span: Span, startTime: HrTime, metricAttributes: MetricAttributes @@ -687,7 +685,6 @@ export class HttpInstrumentation extends InstrumentationBase { context.bind(parentContext, request); return instrumentation._traceClientRequest( request, - hostname, span, startTime, metricAttributes