Skip to content

feat: add requestId and clientId to logs#205

Merged
apsantiso merged 1 commit intomasterfrom
feat/add-better-observability
Mar 16, 2026
Merged

feat: add requestId and clientId to logs#205
apsantiso merged 1 commit intomasterfrom
feat/add-better-observability

Conversation

@apsantiso
Copy link

@apsantiso apsantiso commented Mar 16, 2026

Changes

  • Use AsyncLocal to pass data between methods in the same requests.
  • Log clientId and requestID every time the winston's logger is used
  • Return requestId as response header

Previous logs

image

Current logs

image

@apsantiso apsantiso merged commit 92e6958 into master Mar 16, 2026
6 of 7 checks passed
@apsantiso apsantiso deleted the feat/add-better-observability branch March 16, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants