Skip to content

Commit

Permalink
feat(packages/sui-logger): Add tracing to 300x and 400x pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Benito committed Dec 20, 2024
1 parent 511c52f commit 4bdf284
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class DataDogLogger extends Writable {
method: req ? req.method : '-' // eslint-disable-line
}

if (!req || statusFamily === '4xx' || statusFamily === '3xx') {
if (!req) {
this._client.timing('http.server.requests', duration, globalTags)
chunk = null
globalTags = null
Expand Down

0 comments on commit 4bdf284

Please sign in to comment.