-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Feature Request
Is your feature request related to a problem?
HTTP generated spans contain a too general name which does not help to identify and monitor the whole lifecycle. For example, the frontend-web
service only generate two spans named HTTP GET
and HTTP POST
for all the queries it performs. As the API defines, we should provide a more human-readable name for root spans, which might include additional information like the URL path.
Sample frontend-proxy
span:
Span #0
Trace ID : 3004cbd39f480fde9fc69de395d472e9
Parent ID :
ID : a602a066ac8af08b
Name : HTTP GET
Trace ID : 3004cbd39f480fde9fc69de395d472e9
Parent ID :
ID : a602a066ac8af08b
Name : HTTP GET
Kind : Client
Start time : 2024-07-18 14:52:29.949 +0000 UTC
End time : 2024-07-18 14:52:29.966 +0000 UTC
Kind : Client
Start time : 2024-07-18 14:52:29.949 +0000 UTC
End time : 2024-07-18 14:52:29.966 +0000 UTC
Status code : Unset
Status message :
Attributes:
-> component: Str(fetch)
Status code : Unset
Status message :
Attributes:
-> component: Str(fetch)
-> http.method: Str(GET)
-> http.url: Str(http://frontend-proxy:8080/images/products/RoofBinoculars.jpg)
Describe the solution you'd like:
Provide a more concisely name for root spans. For example, the previous span could be named images
instead.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed