Telemetry - OfficeDev/microsoft-teams-apps-workplaceawards GitHub Wiki
The Workplace Awards app logs telemetry to Azure Application Insights. You can go to the respective Application Insights blade of the Azure App Services to view basic telemetry about your services, such as requests, failures, and dependency errors, custom events, traces etc.
The Workplace Awards app integrates with Application Insights to gather bot activity analytics, as described here.
The app logs AadObjectId of user for tracing logs. The app installer should ensure that the solution meets their privacy and data retention requirements, and can choose to remove it if they wish.
The app logs following events:
<>
Application Insights Log Levels:
- Trace = 0 : Logs that contain the most detailed messages. These messages may contain sensitive application data. These messages are disabled by default and should never be enabled in a production environment.
- Debug = 1 : Logs that are used for interactive investigation during development. These logs should primarily contain information useful for debugging and have no long-term value.
- Information = 2 : Logs that track the general flow of the application. These logs should have long-term value.
- Warning = 3 :Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop
- Error = 4 : Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a failure in the current activity, not an application-wide failure.
- Critical = 5 :Logs that describe an unrecoverable application or system crash, or a catastrophic failure that requires immediate attention.
- None = 6 : Not used for writing log messages. Specifies that a logging category should not write any messages.
If the Admin user wants to change Log Level, he/she has to go to Application Settings in the Configuration of the App Service and change the Log Level value for "ApplicationInsightsLogLevel" . For e.g. "ApplicationInsightsLogLevel": "Information"
Below are the possible values of Log Level:
- Trace
- Debug
- Information
- Warning
- Error
- Critical
- None