Add a trace id in the request log #148

Closed
opened 2024-09-26 09:44:38 +00:00 by r.loginov · 0 comments
Member

At the moment, when tracing is enabled, we do not have a trace ID in the query logs.
Example of a log:

2024-09-24T08:32:06.917Z        info        request        {"remote": "127.0.0.1:39634", "method": "GET", "path": "/get/cats/file1", "query": "", "id": 4294967297}

Describe the solution you'd like

Add the trace id field to query logging when tracing is enabled.

## Is your feature request related to a problem? Please describe. At the moment, when tracing is enabled, we do not have a trace ID in the query logs. Example of a log: ``` 2024-09-24T08:32:06.917Z info request {"remote": "127.0.0.1:39634", "method": "GET", "path": "/get/cats/file1", "query": "", "id": 4294967297} ``` ## Describe the solution you'd like Add the trace id field to query logging when tracing is enabled.
alexvanin added this to the v0.31.0 milestone 2024-09-30 09:29:55 +00:00
r.loginov self-assigned this 2024-10-08 09:44:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-http-gw#148
No description provided.