It seems according to the documentation that RestTemplate and JDBC calls made within my Spring Boot application should 'automatically' be tracked with Application Insights configured. I can see my logs in AI but not the expected dependencies.
I followed the steps for the azure-application-insights-spring-boot-starter.
In the 'Migration from XML based configuration' section it directs you follow the official documentation, but that then only mentions using XML configurations.
That is also where it mentions RestTemplate and JDBC calls should be automatically tracked 'without any code changes', but I'm not seeing it.
Running on Windows App Service.
<dependency>
  <groupId>com.microsoft.azure</groupId>
  <artifactId>applicationinsights-spring-boot-starter</artifactId>
  <version>1.1.1</version>
</dependency>
<dependency>
  <groupId>com.microsoft.azure</groupId>
  <artifactId>applicationinsights-logging-logback</artifactId>
  <version>[2.0,)</version>
</dependency>
azure:
  application-insights:
    enabled: true
    instrumentation-key: <mykey>
    web:
      enabled: true
      w3c: true
    logger:
      type: console
      level: info
    default-modules:
      ProcessPerformanceCountersModule:
        enabled: true
      JvmPerformanceCountersModule:
        enabled: true
      WebRequestTrackingTelemetryModule:
        enabled: true
      WebSessionTrackingTelemetryModule:
        enabled: true
      WebUserTrackingTelemetryModule:
        enabled: true
      WebPerformanceCounterModule:
        enabled: true
      WebOperationIdTelemetryInitializer:
        enabled: true
      WebOperationNameTelemetryInitializer:
        enabled: true
      WebSessionTelemetryInitializer:
        enabled: true
      WebUserTelemetryInitializer:
        enabled: true
      WebUserAgentTelemetryInitializer:
        enabled: true
Not sure if it's relevant, but I'm running it locally and connecting to my app insights instance to check the logging. I see the following during startup:
AI: INFO 16-01-2019 14:28:38.268+0000, 18(localhost-startStop-1): Specified class com.microsoft.applicationinsights.agent.internal.coresync.AgentNotificationsHandler is not present on the classpath AI: INFO 16-01-2019 14:28:38.268+0000, 18(localhost-startStop-1): Agent was not found. Skipping the agent registration in 0.412ms
 
    