How to set Cloud Rolename in Distributed Tracing V2 for Durable Functions
I'm using Azure Durable Functions in node and for observability I added Distributed Tracking V2 by this article https://techcommunity.microsoft.com/blog/appsonazureblog/preview-of-distributed-tracing-v2-for-durable-functions/4039050
Is generating all right and I can explore it in the Azure Application Insights resource but under no cloud rolename.
What I want is to be able to set the Acloud Rolename so Azure Application Insights shows the information grouped. I already set "WEBSITE_CLOUD_ROLENAME" and is used and working as expected for normal functions but not for durable ones
This is a snipped of host.json
...
"extensions": {
"durableTask": {
"hubName": "%MyTaskHub%",
"tracing": {
"DistributedTracingEnabled": true,
"Version": "V2"
}
}
}
...
regards and thanks
Harold J. A. Chelala