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? Please describe.
Postgres is not instrumented correctly by the agent
Describe the solution you would like
Update the code to support newer postgres SDK versions
Describe alternatives you have considered
We're currently manually instrumenting using the agent XML in some places but we have a lot of java applications that are missing out on this functionality.
@timja thank you very much for raising a feature request. PostGres, is something we don't have official auto collection support for, and hence you see its untouched for long. We will take this as a feature request and triage it to future feature releases.
…t instrumentation (#846)
* WIP: Fix postgres instrumentation
#749
* Fixes for PG prepared statement signature
* Fixes for PG prepared statement signature
* Use single ctor
* Add note on changes needed to add other pg constructor
* Clean up
* Remove note about unused constructor
* Update changelog
* Update application version
* Update application version to 2.5.0
* Fix version
ghost
locked as resolved and limited conversation to collaborators
Jul 20, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is your feature request related to a problem? Please describe.
Postgres is not instrumented correctly by the agent
Describe the solution you would like
Update the code to support newer postgres SDK versions
Describe alternatives you have considered
We're currently manually instrumenting using the agent XML in some places but we have a lot of java applications that are missing out on this functionality.
Additional context
Need to update these lines of code:
https://github.com/Microsoft/ApplicationInsights-Java/blob/master/agent/src/main/java/com/microsoft/applicationinsights/agent/internal/agent/sql/PreparedStatementClassDataProvider.java#L63
https://github.com/Microsoft/ApplicationInsights-Java/blob/master/agent/src/main/java/com/microsoft/applicationinsights/agent/internal/agent/sql/PreparedStatementClassDataProvider.java#L222
To handle this commit:
pgjdbc/pgjdbc@42c2e3b#diff-fc136162d0d2039cce76db7d26c9ba04
Specifically the rename from:
AbstractJdbc2Connection -> PgConnection
The text was updated successfully, but these errors were encountered: