public inbox for [email protected]  
help / color / mirror / Atom feed
From: Hugo Sousa <[email protected]>
To: [email protected] <[email protected]>
Subject: Tracing in PostgreSQL with Extended Query Protocol
Date: Mon, 17 Feb 2025 22:52:23 +0000
Message-ID: <[email protected]> (raw)

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,


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Tracing in PostgreSQL with Extended Query Protocol
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox