Is using something like @opentelemetry/instrumentation-pg possible with Deno
I love the built in Otel support in Deno. It makes it very easy to get up and running with a base level of telemetry. One of the big things I'm missing at this point is tracing of my DB queries. I have it out of the box in some of my other non-Deno projects. I know this type of thing has been painful in the past with weak NPM support and no built-in Otel support in Deno but it feels like we should be in a new world. Now with much better npm support and Otel out of the box it feels like it is within reach.
Looking at how to configure this library it appears I would need to register the instrumentation which it kind of feels like I would expect to get that function from something built-in to Deno since it is the thing running my telemetry at this point.
Has anyone had any luck with something like this?
0 Replies