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

Agent not reporting HTTP operations from spring app

Open bradooles opened this issue 6 months ago • 7 comments

Expected behavior

Using the application agent, HTTP operations / transactions should appear in azure application insights

Actual behavior

HTTP Operations / transactions do not appear in application insights - other data does such as instance roles, utilisation, dependencies, trace logs etc so I don't believe it is a connection problem. Have tested with versions 3.4.16 and 3.4.18 and both have same issue. Interestingly in the debug logs I can see the http transactions being picked up by the agent (getTransaction and our health checks), they just don't appear in azure application insights.

I've attached some of the debug logs for the agent - let me know if there are specific logs you want us to try and find (or if you need TRACE logging)

System information

Please provide the following information:

  • SDK Version: 3.4.18, 3.4.16
  • OS type and version: Alpine Linux 3.18 on Kubernetes
  • Using spring-boot? Yes - 2.7.14
  • Additional relevant libraries (with version, if applicable): Java 17

Thanks for your time

agent_logs_debug.txt

bradooles avatar Dec 04 '23 05:12 bradooles