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
I would like to add additional/extended information for a db-span when a slow query is made to a database (I am currently looking to add this functionality for MySQL where all you need to do is to re-send the SQL query with EXPLAIN pre-pended).
For a slow database query, this additional info will be added as an additional attribute/event with the EXPLAIN output in the current db-span (and not as another span). This is something that will be off by default (for performance reasons, but can be turned on if there is a need to investigate why a database is returning data slowly).
What is the best way to achieve this in Otel-js and is there an example in other language agents/a prototype or that I can look at. Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to add additional/extended information for a db-span when a slow query is made to a database (I am currently looking to add this functionality for MySQL where all you need to do is to re-send the SQL query with EXPLAIN pre-pended).
For a slow database query, this additional info will be added as an additional attribute/event with the EXPLAIN output in the current db-span (and not as another span). This is something that will be off by default (for performance reasons, but can be turned on if there is a need to investigate why a database is returning data slowly).
What is the best way to achieve this in Otel-js and is there an example in other language agents/a prototype or that I can look at. Thanks
Beta Was this translation helpful? Give feedback.
All reactions