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
If it happened to not have a comment in it then you could default back to your current way you display the sql (com.ovoenergy.natchez.extras.doobie.TracedTransactor$#formatQuery)
We are currently on 6.25 of natchez-extras-doobie but would likely upgrade to newer version if we need newer version of natchez.
The text was updated successfully, but these errors were encountered:
This could also be generalized to a qualifier function from Sql => Span Name but this is not binary compatible unless you wanted a default on another parameter. We are using the trace function on TracedTransctor currently but I think this would also need to be added on the apply as well. Let me know if you want me to go down that route. I didn't think there was any harm to doing this as it's probably not a common thing. But an addition parameter would let people opt into this behavior.
Given a comment on the first line could we have our span name be or have
selectLatestFooBar
in it?Currently we do this for metrics and would be nice for traces as well.
We parse the sql like so:
If it happened to not have a comment in it then you could default back to your current way you display the sql (com.ovoenergy.natchez.extras.doobie.TracedTransactor$#formatQuery)
We are currently on 6.25 of natchez-extras-doobie but would likely upgrade to newer version if we need newer version of natchez.
The text was updated successfully, but these errors were encountered: