Telemetry - OfficeDev/microsoft-teams-apps-growyourskills GitHub Wiki

Grow Your Skills app logs telemetry to Azure Application Insights. You can go to the Application Insights blade of the Azure App Service to view basic telemetry about your services, such as requests, failures, and dependency errors, custom events, traces.

App integrates with Application Insights to gather bot activity analytics, as described here.

App logs a few kinds of events:

Events logs keeps the track of application events and also logs the user activities like:

  • Joins to projects created
  • Average number of users creating projects
  • Number of projects created per week/month
  • Total and Unique Users per month
  • Average Response Time

Exceptions logs keeps the records of exceptions tracked in the application.

Application Insights queries:

  • This query gives total number of unique users of bot.
customEvents
| extend User = tostring(customDimensions.userId)
| summarize dcount(User)
  • This query gives total number of joins to projects created.
customEvents
| project name, timestamp
| where name == "Save project - HTTP Post call initiated"
| summarize count() by name
  • This query gives number of users creating projects.
customEvents
| extend User = tostring(customDimensions.userId)
| project name, User
| where name == "Save project - HTTP Post call succeeded"
| summarize count() by User
  • This query gives number of projects created per week/month.
customEvents
| project name, timestamp
| where name contains "Save project - HTTP Post call succeeded" and (timestamp >= datetime('<<Start date time>>') and timestamp <= datetime('<<End date time>>'))
| summarize count() by name
  • This query gives average response time of requests.
requests 
| summarize avg(duration)