Open hansmbakker opened 4 days ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @cijothomas @rajkumar-rangaraj @reyang @TimothyMothra.
Note that https://github.com/Azure/azure-sdk-for-net/issues/45089 has some additional details on this. It was incorrectly closed (it has not been fixed, and will not be fixed by the consolidating issue) IMO.
I think the UX is broken because we're only setting the User Auth Id, but not the Anon Id. This is on our backlog, but we're blocked waiting for the community to define stable attributes.
Apart from the functionality, enduser.id is deprecated and is recommended to be replaced by user.id.
Yeah we're aware that enduser.id
was depricated. We took a dependency on this while it was still experimental and we got burned. user.id
is also experimental so we've decided to wait until the community has stable attributes.
We have someone from our team helping to driving this spec in the community.
Library name and version
Azure.Monitor.OpenTelemetry.Exporter 1.2.0
Describe the bug
This is a follow-up on https://github.com/Azure/azure-sdk-for-net/issues/45089.
It looks like setting the opentelemetry tag
enduser.id
indeed sets the top-leveluser_AuthenticatedId
, but it does not fully work as expected:user_Id
resulting in theAll users
bar chart to be filled with the value1
. The below chart should have a higher value at the end of the timeline:Authenticated users
from the dropdown, it works:Authenticated Users Timeline
workbook does not work:Apart from the functionality,
enduser.id
is deprecated and is recommended to be replaced byuser.id
.Expected behavior
user.id
is the expected value)Actual behavior
enduser.id
) is deprecatedReproduction Steps
activity.SetTag("enduser.id", userId)
. The value for now does not matter, this issue is about how the value is processed by the OpenTelemetry Exporter and how it is finally picked up by Application Insights.Users
page in Application Insights only works whenAuthenticated Users
is selected from the dropdown.activity.SetTag("user.id", userId);
results in theuser.id
tag being added as custom dimension which is not picked up by the Out of the Box Application Insights pages and workbooks.Environment
No response