Add trace_id values into the log when tracing is enabled #142

Closed
opened 2023-06-15 14:51:56 +00:00 by alexvanin · 0 comments
Owner

While request id are useful to debug issues, sometimes we want to follow the request lifecycle through storage node requests. To do so we added tracing support (#84). However, traces are available only when open telemetry collector is present.

Describe the solution you'd like

If tracing is enabled, add trace_id value in the logs together with request_id.

Describe alternatives you've considered

None.

Additional context

This was proposed for the storage node as well for TrueCloudLab/frostfs-node#146

## Is your feature request related to a problem? Please describe. While request id are useful to debug issues, sometimes we want to follow the request lifecycle through storage node requests. To do so we added tracing support (#84). However, traces are available only when open telemetry collector is present. ## Describe the solution you'd like If tracing is enabled, add `trace_id` value in the logs together with `request_id`. ## Describe alternatives you've considered None. ## Additional context This was proposed for the storage node as well for https://git.frostfs.info/TrueCloudLab/frostfs-node/issues/146
mbiryukova self-assigned this 2023-08-28 14:11:30 +00:00
alexvanin added this to the v0.28.0 milestone 2023-09-08 13:08:00 +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-s3-gw#142
No description provided.