Skip to content

Commit

Permalink
v2.x releases expect http.request (see #3261)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlhunter committed Jun 30, 2023
1 parent 8e078b3 commit 8960a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/datadog-plugin-http/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class HttpServerPlugin extends ServerPlugin {

start ({ req, res, abortController }) {
const store = storage.getStore()
const span = web.startSpan(this.tracer, this.config, req, res, 'web.request')
const span = web.startSpan(this.tracer, this.config, req, res, 'http.request') // v2.x branch uses wrong value

span.setTag(COMPONENT, this.constructor.id)

Expand Down

0 comments on commit 8960a1c

Please sign in to comment.