This doc describes what telemetry is currently recorded. This doc should evolve over time to match the implementation.
If we should change something file an issue. Thanks!
Our general goals are:
- Record general usage information.
- Don't record any text that is inspected.
- Don't record the URLs of any sites visited: except for Azure DevOps or Github organizations.
Application Insights automatically records a random and unique user_Id
value for
page views and custom events such as IsVTD5OcT+9c4g7k8pN+Qp
.
This user_Id
should remain stable as long as the browser extension is installed.
If you uninstall/reinstall the extension, the user_Id
will change.
URLs are only recorded for:
- https://github.com/[organization]/[repository]
- https://dev.azure.com/*
- https://devdiv.visualstudio.com/*
- https://msazure.visualstudio.com/*
If we don't hit one of these cases, not_specified
will be recorded.
All events are sent to the App Insights SDK at the time they occurred. It may take a few minutes for values to show up on the backend.
All values have a timestamp
value recorded by the App Insights SDK.
The user clicked a replacement, such as allowlist
:
We also report a running total since the extension was installed via customMeasurements
:
{"total":1}
This is somewhat more complicated scenario:
- The user typed some text.
- The extension recommended a change (either via
negativeWord
ornegativeSentence
). - The user changed the text.
- Now the extension finds no issues.
appliedSuggestion
should not trigger manualFix
, file a bug if it does!
The user clicked Ignore in this text
:
NOTE: Turn off rule everywhere
is removed in latest version.
- The user pauses typing, and a negative "word" is underlined.
See the full word list in suggestions.js.
- The user pauses typing, and Azure Text Analytics reported a negative sentiment with a 75% confidence or higher.
We also report customMeasurements
such as:
{"positive":0,"neutral":0,"negative":1}
The user clicked Ask an AI for suggestions
.
The user has clicked something that would present a popup of some sort with suggestions or a way to get suggestions.
- The user clicked the underlined text
- The user has clicked the bottom-left corner indicator
We also report customMeasurements
such as:
{ "type": "inlineErrorCard" }
Or
{ "type": "indicatorDialog" }
These are just a list of Kusto queries for looking at the data:
//Users
pageViews
| where timestamp >= datetime(01/01/2022)
| summarize count() by user_Id, bin(timestamp, 7d)
| summarize Users=count() by timestamp
| order by timestamp
// Sessions
pageViews
| where timestamp >= datetime(01/01/2022)
| summarize count() by session_Id, bin(timestamp, 7d)
| summarize Sessions=count() by timestamp
| order by timestamp
// Comments improved
customEvents
| where name == "appliedSuggestion" or name == "manualFix"
| where timestamp >= datetime(01/01/2022)
| summarize Comments=count() by bin(timestamp, 7d)
| order by timestamp