-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pgx query times report as application times in the Datadog UI #2710
Comments
@rarguelloF @zarirhamza Can you review this? Thanks! |
@ewhauser Sorry for the delayed response. From the screenshot you are sending, it seems the If you want to have the old behavior (having your import (
pgxtrace "gopkg.in/DataDog/dd-trace-go.v1/contrib/jackc/pgx.v5"
)
// ...
db, err := pgxtrace.Connect(ctx, dbUrl, pgxtrace.WithServiceName("postgres.db")) |
Since the question is answered, we close the issue. Feel free to reopen if you want more support. |
Version of dd-trace-go
latest
Describe what happened:
We recently switched from
libpq
topgx
. Our services are now showing all time spent in the application vs. correctly reporting on the application and database times.Describe what you expected:
The screenshot shows the difference here. The
pgx
changes were deployed on Thurs 23rd and our service name istelemetry
:Steps to reproduce the issue:
Should be simple to reproduce. Send any
pgx
traces to Datadog.Additional environment details (Version of Go, Operating System, etc.):
The text was updated successfully, but these errors were encountered: