-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppInsights Integration should send up Teams channel info, and AAD app id. and make user_id more clear #5855
Comments
This is a great feature ask. We're planning to take this in our R10 release (which is our next milestone). |
Hi @msftjayongg - I have been looking into how we can address this feature request. Firstly, I serialized the channel data I received in different circumstances to understand what we might log to assist. 1:1 Chat with the bot {"tenant":{"id":"XXXXXX-XXXX-XXXX-XXXX-XXXXXXX"}} Group Chat {"tenant":{"id":"XXXXXX-XXXX-XXXX-XXXX-XXXXXXX"}} Message via a Channel {"teamsChannelId":"19:e05xxxxxxxxxxxxxxxxxxxxx4f800e@thread.tacv2","teamsTeamId":"19:e05xxxxxxxxxxxxxxxxxxxxx4f800e@thread.tacv2","channel":{"id":"19:e05d7a1fa66646a9bee7ed47c34f800e@thread.tacv2"},"team":{"id":"19:e05xxxxxxxxxxxxxxxxxxxxx4f800e@thread.tacv2"},"tenant":{"id":"XXXXXX-XXXX-XXXX-XXXX-XXXXXXX"}} So, to respond to your points.
Do the additional data points I have suggested we log make sense to you? If so I can work up a PR to capture the additional data. |
Agreed with Tatiana in Teams that, as per the above, we will add the following items to our telemetry is the user is using the Teams channel.
|
Hi Gary, Sorry I didn't see your message from 13 days ago. I think your comments make sense. I don't know where the "a:" come from, did Tatiana have a response to that, seems like she would know. |
For the point 3 above, a: prefix is usually for 1:1 conversations between the user and the bot. If there is a repro we can confirm what is happening from our logs |
Is your feature request related to a problem? Please describe.
For users to make the most use out of the telemetry, there are important metrics that should be transmitted into the customEvents in ApplicationInsights. Without making the developer do more work. Right now the lack of clarity with the user_id metric lets ISVs overcount. (I've double checked application insights telemetry)
Describe the solution you'd like
We should add two fields and fix up the user_id field
Describe alternatives you've considered
Developer can work around this by logging the data herself. However this belongs in the framework - else we're just making more calls to Application Insights unnecessarily.
Dotnet SDK 4255
Javascript SDK 2523
Python SDK 1246
Java SDK 691
The text was updated successfully, but these errors were encountered: