From cbab4e7e8b709c42d2aabf39e636787be436f562 Mon Sep 17 00:00:00 2001 From: aunsy-com <87253813+aunsy-com@users.noreply.github.com> Date: Thu, 23 Nov 2023 16:14:21 +0800 Subject: [PATCH] Update HttpPlugin.ts for fix (https://github.com/apache/skywalking/issues/11583) changing wrapEmit(span, res, false) to wrapEmit(span, res, false, 'end') --- src/plugins/HttpPlugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/HttpPlugin.ts b/src/plugins/HttpPlugin.ts index 84c80e1..88aa311 100644 --- a/src/plugins/HttpPlugin.ts +++ b/src/plugins/HttpPlugin.ts @@ -87,7 +87,7 @@ class HttpPlugin implements SwPlugin { if (res.statusMessage) span.tag(Tag.httpStatusMsg(res.statusMessage)); - wrapEmit(span, res, false); + wrapEmit(span, res, false, 'end'); }; const responseCB = function (this: any, res: any) {