Hi,
I'm working on improving observability at my workplace and looking to add tracing at the database level. We use an observability provider that connects to our PostgreSQL instance and can extract traces from SQLCommenter-compliant comments.
However, we make heavy use of the extended query protocol, and from my understanding, SQL comments don’t work in that context. Given this, I was wondering:
- Is there a way to attach tracing information when using the extended query protocol?
- Are there any best practices or tools that can help with this?
- Is there a plan to add more observability to Postgresql, alined maybe with the OpenTelemetry Project?
Any advice or pointers would be greatly appreciated!
Thanks in advance,