[http.server.request.duration] New origin.name
attribute
#1336
Labels
enhancement
New feature or request
experts needed
This issue or pull request is outside an area where general approvers feel they can approve
triage:needs-triage
Area(s)
http.server.request.duration
Is your change request related to a problem? Please describe.
Background
I was using
instrumentation-http
with thesdk-node
autoinstrumentation and I could not find seem to find an option for me to be able to specify that a custom attribute I added to a span inrequestHook
orheadersToSpanAttributes
.The use case for this would be to identify traffic flow per client of an internal microservice application.
This would be highly valuable in detecting spikes from some upstream service or checking if some % of problematic traffic comes from some origin service as the immediate parent.
Describe the solution you'd like
Proposal
Add an
origin.name
attribute to be able to segregate inbound metrics on A by direct clients. The field value should correspond toservice.name
of the upstream, in the above case,B
,C
orD
.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: