ApplicationInsights-Java icon indicating copy to clipboard operation
ApplicationInsights-Java copied to clipboard

MySql dependency tree not available with applicationinsights-agent-3.5.1

Open abhikt48 opened this issue 2 months ago • 2 comments

Expected behavior

  1. Mule 4 --> MySql dependency should be available in Application Insight (AI).
  2. Java --> End to End transaction should be available for multiple transports (MySQL + Mongo) . This is very less priority for us, just FYI, observed while testing.

Actual behavior

We need to use Mule 4 application to log all logs in Application Insight. As part of testing, we discoverd that MySql dependency is not available in AI, however mongo DB dependency is available. Please refer below image where there is no MySql dependency, dependency is not available without transaction ID as well.

Mule-No-MySql-DependencyTree

Just for replication, I did testing with plain java code and found that both (MySQL and Mongo) dependencies are available in AI. But there is no End To End transaction. Which is quite strange.

Java-Mysql-Dependency

To Reproduce

  1. Java - Refer this repo to replicate java-ai-db-test
  2. Mule - Refer this repo to replicate mule4-ai-db-test

I am not sure, how much comfortable you all with Mule 4. However you can run dependency tree or check if anything is missing in POM.

System information

Please provide the following information:

  • SDK Version: applicationinsights-agent-3.5.1
  • OS type and version: Windows 11
  • Application Server type and version (if applicable):
  • Using spring-boot? : No
  • Additional relevant libraries (with version, if applicable): Mule Server 4.6.1

Please check above information and let me know for any concern.

abhikt48 avatar Apr 24 '24 16:04 abhikt48