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
Support for OpenTelemetry in the serverless driver for transactions/individual queries would be useful to allow for full tracing from request to response of all queries my application is performing
The text was updated successfully, but these errors were encountered:
I believe you could solve this with a custom fetchFunction, you'd just need to set it up like so:
import{neonConfig,neon}from`@neondatabase/serverless`neonConfig.fetchFunction=async(url,init)=>{// pull attrs of the the init object (like from the headers)constattrs={};returncurrentTracer.startActiveSpan(`neon-query`,attrs,async()=>fetch(url,init));};
Support for OpenTelemetry in the serverless driver for transactions/individual queries would be useful to allow for full tracing from request to response of all queries my application is performing
The text was updated successfully, but these errors were encountered: