Is your feature request related to a problem? Please describe
I am currently looking at implementing the following but running into an issue of not being able to add custom attributes/dimension, namely peer.service to the http.server.duration/ http.server.request.duration metric.
Describe the solution you'd like to see
The ability to add custom attributes and dimensions as a hook to the http.server.duration/ http.server.request.duration metric emitted by @opentelemetry/instrumentation-http, with something of the following signature:
Is your feature request related to a problem? Please describe
I am currently looking at implementing the following but running into an issue of not being able to add custom attributes/dimension, namely
peer.service
to thehttp.server.duration
/http.server.request.duration
metric.Describe the solution you'd like to see
The ability to add custom attributes and dimensions as a hook to the
http.server.duration
/http.server.request.duration
metric emitted by@opentelemetry/instrumentation-http
, with something of the following signature:Describe alternatives you've considered
http.route
.Additional context
None.