Skip to content

Commit

Permalink
Merge 3e1b954 into 9b4f2a5
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 22, 2023
2 parents 9b4f2a5 + 3e1b954 commit eeecb9b
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 eeecb9b

Please sign in to comment.