You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I.e. two activities - from worker ASP.NET Core and custom one in the function.
Both of these activities have a parent (but different parents) which came from host.
When I don't provide telemetryMode, don't have APPLICATIONINSIGHTS_CONNECTION_STRING and also explicitly disable ASP.NET Core activity creation in absence of a listener, the host should not create any activities.
The text was updated successfully, but these errors were encountered:
See Azure/azure-functions-dotnet-worker#2733 for the context.
I'd like to be able to disable tracing on function host and trace everything on the worker to reduce number of spans I might not care about.
What I tried:
telemetryMode
fromhost.json
and then no traces are exported, but the parent span is still generated.my config looks like this:
What I see
I get the following telemetry for it with https://github.com/lmolkova/testfuncotel/tree/aspnetcoreint
I.e. two activities - from worker ASP.NET Core and custom one in the function.
Both of these activities have a parent (but different parents) which came from host.
Also related to Azure/azure-functions-dotnet-worker#2875
What I expect
When I don't provide
telemetryMode
, don't haveAPPLICATIONINSIGHTS_CONNECTION_STRING
and also explicitly disable ASP.NET Core activity creation in absence of a listener, the host should not create any activities.The text was updated successfully, but these errors were encountered: