diff --git a/packages/sui-logger/src/server/expressMiddleware/DataDogLogger.js b/packages/sui-logger/src/server/expressMiddleware/DataDogLogger.js index 9f33836e3..e82cdcec6 100644 --- a/packages/sui-logger/src/server/expressMiddleware/DataDogLogger.js +++ b/packages/sui-logger/src/server/expressMiddleware/DataDogLogger.js @@ -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