2 ms·
Did you check https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/examples/postgres https://github.com/open-telemetry/opentelemetry-js-contri
by brunoqc 6y ago
Did you check https://github.com/open-telemetry/opentelemetry-js-contrib/tree/master/examples/postgres https://github.com/open-telemetry/opentelemetry-js-contrib/t... ?
I'm not sure if it's the only one but opentelemetry.io does list PostgreSQL.
- candiddevmike 6y agoCorrect me if I'm wrong, but this just seems like using the opentelemetry library in node to send query info in a span. This doesn't seem like a full PostgreSQL integration?
- brunoqc 6y agoYeah it looks like it runs on the client side right? While I was expecting a proper plugin running on the postgresql side.
- sargun 6y agoWhy would you need any "server side" logic in PG?
- majewsky 6y agoThey want to trace the goings-on inside PG, e.g. if you have a query that runs in 3 seconds and joins five different tables, it might be interesting to see information like "spent 0.467 seconds joining table B and F". Like what EXPLAIN ANALYZE does, but live.