Skip to content

Commit 1b00677

Browse files
committed
Add request tags just after span creation
For web spans, add request tags just after span creation instead of when span finishes. This is needed for profiler code hotspots implementation to determine which span are web spans and should be used to find current endpoint.
1 parent 668a0c1 commit 1b00677

File tree

1 file changed

+1
-0
lines changed
  • packages/dd-trace/src/plugins/util

1 file changed

+1
-0
lines changed

packages/dd-trace/src/plugins/util/web.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ const web = {
103103
context.res = res
104104

105105
this.setConfig(req, config)
106+
addRequestTags(context)
106107

107108
return span
108109
},

0 commit comments

Comments
 (0)