events icon indicating copy to clipboard operation
events copied to clipboard

Intercept frequently used attributes like trace id, workspace id

Open yashpokar opened this issue 2 years ago • 0 comments

Most of the time while designing the web application, we repeatedly log things like x-trace-id, request-id. Specific to segment's use-case WorkspaceID is also one mostly being logged.

Wouldn't that be a good idea to expose middleware like API to intercept the logger where we can add such repeatedly used attributes.

Inspired by: morgan

yashpokar avatar Feb 07 '23 05:02 yashpokar