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
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