Skip to content

Commit 42e0d49

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 571cb8d commit 42e0d49

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/dd-trace/src/plugins/util

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)