You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem?
Not a problem per se however, the asyncpg instrumentation uses sets span names as the query string which results in some very messing looking trace names in jaeger, datadog, etc and outright doesn't work with promscale due to long queries exhaust the available bytes for btree indexes.
Describe the solution you'd like
The ability to change the name of the span with a hook or something similar. The httpx instrumentation provides hooks that receive the span and the name can be updated there.
Just use a shorter or truncated version of the query as the name.
Which alternative solutions or features have you considered?
Not using the asyncpg instrumentation and manually instrumenting specific queries.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Not a problem per se however, the
asyncpg
instrumentation uses sets span names as the query string which results in some very messing looking trace names in jaeger, datadog, etc and outright doesn't work with promscale due to long queries exhaust the available bytes for btree indexes.Describe the solution you'd like
httpx
instrumentation provides hooks that receive the span and the name can be updated there.Which alternative solutions or features have you considered?
Not using the
asyncpg
instrumentation and manually instrumenting specific queries.The text was updated successfully, but these errors were encountered: