Skip to content

Commit

Permalink
chore: remove unused argument (#3626)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Dyla <[email protected]>
  • Loading branch information
SimenB and dyladan authored Feb 22, 2023
1 parent 9b4f2a5 commit b73ba9c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,12 @@ export class HttpInstrumentation extends InstrumentationBase<Http> {
* 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
Expand Down Expand Up @@ -687,7 +685,6 @@ export class HttpInstrumentation extends InstrumentationBase<Http> {
context.bind(parentContext, request);
return instrumentation._traceClientRequest(
request,
hostname,
span,
startTime,
metricAttributes
Expand Down

0 comments on commit b73ba9c

Please sign in to comment.