Annotate pgx span and metrics with custom tags #4394
anthonyClumio
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Package Name
No response
Package Version(s)
No response
Describe the feature you'd like
Allow user to specify custom tags for span and metrics for pgx
Is your feature request related to a problem?
My service has multiple pgx pools (for postgres reader/writer, for fast/slow queries) and would like the span and metrics from pgx annotated according to the pool.
Describe alternatives you've considered
Currently, I can provide my own query tracer in the conn configuration to annotate a span with a name, but I cannot find anyway to allow me to annotate metrics with pool name.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions