dd-trace-js
dd-trace-js copied to clipboard
Report Postgres Process ID as Span Tags
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:
