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

Application Map should support Dependency of Application Insights type.

Open stas-sultanov opened this issue 10 months ago • 3 comments

Is your feature request related to a problem? In my solution, I am tracking requests to Application Insights as to any other Azure Service like storage. The issue is that track requests to Application Insights itself are not displayed well on Application Insights map, it is shown just like generic web service.

I am using RemoteDependency.AI as Dependency Telemetry Type. I hope that AI stands for Application Insights, not Artificial Intelligence.

Describe the solution you'd like. I would like Application Insights map to display Application Insights as it is on the application map. As it does for other Azure Services like Storage Queue, Table, etc.

Describe alternatives you've considered. None.

Additional context. None.

stas-sultanov avatar Jan 13 '25 13:01 stas-sultanov

The App Insights SDK deliberately hides its own dependencies via SdkInternalOperationsMonitor.Enter/Exit I think RemoteDependencyConstants.AI is reserved for distributed correlation. I would avoid it for your own stuff. What requests are you hoping to track? Be careful not to get recursive!

pharring avatar Jan 13 '25 22:01 pharring

Neither standard Application Insights nor Open Telemetry with Azure Monitor Exporter does not work well for Microsoft Power Platform Plugins development. Power Platform Plugins development has many specifics.

Had to create own implementation of Application Insights client.

We track dependency calls to Application Insights, except the last one, of course.

Maybe there is a magic word to place in DependencyTelemetry Type so Application Insights Map will draw Application Insights dependency, not as just a web resource ?

stas-sultanov avatar Jan 13 '25 23:01 stas-sultanov

Also, there is Azure Monitor Query client .net it makes dependency calls to Azure Monitor I guess that this type dependencies should have appropriate Azure Monitor icon on Application Insights map.

stas-sultanov avatar Jan 13 '25 23:01 stas-sultanov