Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Telemetry

Adrian Solis edited this page Jun 28, 2019 · 3 revisions

The messaging extension and configuration apps log 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.

The Messaging Extension also integrates with Application Insights to gather bot activity analytics, as described here.

Events logged

Activity event (logged by Bot Framework):

  • Basic activity info: ActivityId, ActivityType, Event Name
  • Basic user info: From ID

UserActivity event:

  • Basic activity info: ActivityId, ActivityType, ActivityName
  • Basic user info: UserAadObjectId, TenantId
  • Context of how it was invoked: ConversationType, TeamId, SourceName
  • Client app information: Locale, Platform

KnowledgeBaseRefresh event, logged when a knowledge base is refreshed:

Property Description
KnowledgeBaseId The knowledge base ID
KnowledgeBaseName The knowledge base name
Success True if the refresh was successful, False otherwise
LastRefreshDateTime Timestamp of the last time the knowledge base was successfully refreshed (logged only if Success = False)
ErrorMessage The error message for the failure (logged only if Success = False)

SearchSessionStarted event, logged when the user invokes the messaging extension

Property Description
SessionId Unique identifier for this invocation

SearchResultShared event, logged when the user selects a result to share as a card

Property Description
SessionId Unique identifier for this invocation
KnowledgeBaseId The knowledge base ID
ListItemId The ID of the SharePoint list item
Clone this wiki locally