Make query tracing more detailed #145

Open
opened 2024-09-25 02:15:27 +00:00 by r.loginov · 0 comments
Member

At the moment, the http goethe trace contains only one type) of span: REQUEST, which captures any request in frostfs-http-gw. Having only one span does not allow you to accurately track the steps within the request.

Describe the solution you'd like

It is necessary to improve the detail of tracing by adding several nested spans for various stages of execution. I suggest adding span's to the request handler functions from the handler package.

You can further expand the detail, and add spawns to the logic layer of working with Tree Service, storage. Suggestions in the comments are welcome.

## Is your feature request related to a problem? Please describe. At the moment, the http goethe trace contains only [one type](https://git.frostfs.info/TrueCloudLab/frostfs-http-gw/src/branch/master/cmd/http-gw/app.go#L613 )) of span: `REQUEST`, which captures any request in frostfs-http-gw. Having only one span does not allow you to accurately track the steps within the request. ## Describe the solution you'd like It is necessary to improve the detail of tracing by adding several nested spans for various stages of execution. I suggest adding span's to the request handler functions from the handler package. You can further expand the detail, and add spawns to the logic layer of working with Tree Service, storage. Suggestions in the comments are welcome.
r.loginov added the
discussion
label 2024-09-25 02:15:27 +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#145
No description provided.