Express Instrumentation Request Handler Timestamp #4465
aaron-scherling-banno
started this conversation in
General
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 😃
I have a question regarding instrumentation (ESM). The
@opentelemetry/instrumentation-express
and@opentelemetry/instrumentation-http
packages are installed and enabled (defaults). However when I observe the length of the express instrumentedroute
type span, things are not to my expectation. I placed a 20ms wait in the get route (code seen bellow). I expected the elapsed time to show itself in theservice1: request handler - /fetch/host
span, but it does not. That span being 12us. However, the 20ms is added to the top level http instrumented span.Is this correct or do I have a misconfiguration?
Packages:
Code:
Image of trace:
Beta Was this translation helpful? Give feedback.
All reactions