New span for customDependency

Sanjeevkumar Sharma 41 Reputation points
2021-02-25T08:59:34.96+00:00

Hi,

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?

Thanks.

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,797 questions
{count} votes

1 answer

Sort by: Most helpful
  1. olufemia-MSFT 2,861 Reputation points
    2021-04-06T19:49:05.033+00:00

    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.

    84970-savespanpng.png

    Cheers.

    0 comments No comments