You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, we have to implement these metrics via middleware. But I assume they should be coming from instrumentation packages. To foster better organization I would like to point engineers to use the supported instrumentation libraries by opentelmetry-js.
Is your feature request related to a problem? Please describe.
Currently, we have to implement these metrics via middleware. But I assume they should be coming from instrumentation packages. To foster better organization I would like to point engineers to use the supported instrumentation libraries by opentelmetry-js.
Describe the solution you'd like
Support:
Metric: http.server.active_requests
Metric: http.server.request.body.size
Metric: http.server.response.body.size
And:
Metric: http.client.request.body.size
Metric: http.client.response.body.size
^ if possible
Describe alternatives you've considered
I had to create a middleware to implement these metrics.
Additional context
The Java client has implemented these metrics already: https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/09940563658c20076b3cc3df3ed7c792a55c4049/instrumentation-api-semconv/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/http/HttpServerExperimentalMetrics.java#L59
The text was updated successfully, but these errors were encountered: