Johannes Huster
Johannes Huster
@JamieDanielson This is related to https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1947 At the moment,`http.route` attributes of router and middleware spans are set to the "[mount path](https://expressjs.com/en/guide/using-middleware.html#:~:text=mount%20path)" (in the cases I could see). ```JavaScript // Tests...
I had a look at the code for another issue (#1947) and it looks like lists of paths are not supported by the express instrumentation, at the moment. https://github.com/open-telemetry/opentelemetry-js-contrib/blob/038e0bfda951055ce91724a3b4a3042a9f918700/plugins/node/opentelemetry-instrumentation-express/src/instrumentation.ts#L128 "/"...
I might have put a bit too much responsibility on `http.route` for non-request spans and described my current understanding in a related issue: https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1993
I am working on core package.
I'm working on - `@opentelemetry/shim-opentracing` - `@opentelemetry/sdk-trace-web` - `@opentelemetry/sdk-trace-node` - `@opentelemetry/sdk-trace-base`
I'm working on sdk-node and opentelemetry-browser-detector.