NestJS · Interceptors · Senior · Scenario
Scenario: need to measure handler duration and status.
Short Interview Answer
Logging interceptor recording start time and tap/finalize on the observable stream.
Detailed Explanation
Include correlation IDs. Avoid logging huge bodies. Export metrics histograms.