Replies: 2 comments 9 replies
-
I'm using Jaeger to view the traces when developing locally. |
Beta Was this translation helpful? Give feedback.
9 replies
-
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
-
Hey guys, I'm wondering if anyone has had similar issues as this before.
I'm using automatic Nodejs instrumentation. I only enabled pg, http, express, and redis instrumentations. The web app works. However, after booting the app and running a few seeds and then looking at a few spans for a message puller (a worker process that pulls messages from a message queue), the span timings for SQL queries makes little sense.
Example 1:
This screenshot shows that a COMMIT occurs after the parent span ends. This is impossible in code because I added instrumentation for a wrapping function that does not end the span until all SQL and the transaction is done.
Example 2:
This screenshot shows that while connecting a BEGIN query was being executed. This is also impossible in code because the client is obtained and connected to first before any SQL is sent over the connection.
Is there something I'm missing? Besides the custom span creation to monitor our message workers, this is a vanilla OTEL installation, following the Nodejs automatic guide.
Beta Was this translation helpful? Give feedback.
All reactions