dd-trace-js icon indicating copy to clipboard operation
dd-trace-js copied to clipboard

Report Postgres Process ID as Span Tags

Open jcarvalho opened this issue 3 years ago • 0 comments

In the Postgres plugin, would be great if we could add the Connection's Process ID as a Span Tag. This would make it a lot easier for us to correlate slow queries with Postgres Logs (particularly useful to debug Lock Timeouts).

I have a working implementation of this feature, would be happy to contribute a PR :slightly_smiling_face:

Example: image

jcarvalho avatar Sep 30 '22 16:09 jcarvalho