New span for customDependency

Sanjeevkumar Sharma 41 Reputation points


I am trying to log custom dependency which is nested, from a Spring-Boot application using the applicationinsights-spring-boot-starter:2.6.2 dependency's trackDependency method. As of now the dependency is logged in the application insights with the same parentId which means that they are in same level. How can we trace those custom dependency as new span?


Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,986 questions
{count} votes

1 answer

Sort by: Most helpful
  1. olufemia-MSFT 2,861 Reputation points

    Hello anonymous user-8682 , here's some guidance shared by the feature owners to address your scenario.
    Please review and don't hesitate to reply if you have any follow-up questions.



    0 comments No comments