Make query tracing more detailed #498
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#498
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
At the moment, the trace in s3 gate contains span of only one type :
REQUEST S3
, which captures any request in frostfs-s3-gw. Having only one span does not allow you to accurately track the steps within the s3 query.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 operations from the main layers of the application, such as:
You can further expand the detail, and add spans to the logic layer of working with APE, the logic layer of working with Tree Service, storage, etc. Ideally, I think it would be great to observe the main stages of its execution within the framework of one trace, as well as actions before and after the execution of the basic business logic. Suggestions in the comments are welcome.