| summarize count() by tostring(OperationName) | summarize count() by tostring(ResultCode) Pie Chart showing requests response status codes. Line Chart showing requests response status codes. | summarize DurationMs = avg(DurationMs) by bin(TimeGenerated, 5m), OperationName Line Chart showing requests response times/duration per operation. | summarize Number_Of_Requests = count() by tostring(ResultCode), bin(TimeGenerated, 5m) Line Chart showing Direct Line channel requests response codes. | where OperationName = 'SendAnActivity:ClientToDirectLine' Logs of requests to send activities from a client to Direct Line channel. | where OperationName contains "ChannelToFacebookAPI" Logs of requests from Azure Bot Service Facebook Channel to Facebook API. | where OperationName contains "FacebookToChannel" Logs of requests from Facebook to Azure Bot Service Facebook Channel. | where OperationName contains "ChannelToBot" Logs of requests from Channels to the bot. | where OperationName contains "BotToChannel" Logs of requests from the Bot to channels. | where OperationName contains "ClientToDirectLine" Logs of Clients to Direct Line channel requests. See Log query scope and time range in Azure Monitor Log Analytics for details.įollowing are queries that you can use to help you monitor your bot resource. If you want to run a query that includes data from other resources or data from other Azure services, select Logs from the Azure Monitor menu. This means that log queries will only include data from that resource. When you select Logs from the Azure Bot menu, Log Analytics is opened with the query scope set to the current bot resource. You can view it independently or route it to Azure Monitor Logs, where you can do much more complex queries using Log Analytics.įor a list of the types of resource logs collected for Azure Bot Service, see Monitoring Azure Bot Service data reference.įor a list of the tables used by Azure Monitor Logs and queryable by Log Analytics, see Monitoring Azure Bot Service data reference. The Activity log is a type of platform log in Azure that provides insight into subscription-level events. The common schema is outlined in Azure Monitor resource log schema. Analyzing logsĭata in Azure Monitor Logs is stored in tables where each table has its own set of unique properties.Īll resource logs in Azure Monitor have the same fields followed by service-specific fields. See Getting started with Azure Metrics Explorer for details on using this tool.įor a list of the platform metrics collected for Azure Bot Service, see Monitoring Azure Bot Service data reference metrics.įor reference, you can see a list of all resource metrics supported in Azure Monitor. You can analyze metrics for Azure Bot Service with metrics from other Azure services using metrics explorer by opening Metrics from the Azure Monitor menu. The metrics and logs you can collect are discussed in the following sections. The categories for Azure Bot Service are listed in Azure Bot Service monitoring data reference. When you create a diagnostic setting, you specify which categories of logs to collect. See Create diagnostic setting to collect platform logs and metrics in Azure for the detailed process for creating a diagnostic setting using the Azure portal, CLI, or PowerShell. Resource Logs are not collected and stored until you create a diagnostic setting and route them to one or more locations. Platform metrics and the Activity log are collected and stored automatically, but can be routed to other locations by using a diagnostic setting. See Monitoring Azure Bot Service data reference for detailed information on the metrics and logs metrics created by Azure Bot Service. Monitoring dataĪzure Bot Service collects the same kinds of monitoring data as other Azure resources that are described in Monitoring data from Azure resources. If you are unfamiliar with the features of Azure Monitor common to all Azure services that use it, read Monitoring Azure resources with Azure Monitor. This article describes the monitoring data generated by Azure Bot Service. When you have critical applications and business processes relying on Azure resources, you want to monitor those resources for their availability, performance, and operation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |