Monitoring Azure Analysis Services

Learn how to monitor your Azure Analysis Services resources to ensure performance and availability.

Effective monitoring is crucial for understanding the health, performance, and usage patterns of your Azure Analysis Services (AAS) resources. This document outlines the key metrics, tools, and best practices for monitoring your AAS instances.

Key Monitoring Metrics

Azure Analysis Services provides a rich set of metrics that can be accessed through Azure Monitor. These metrics help you identify potential issues and optimize resource utilization.

Performance Metrics

Resource Metrics

Availability Metrics

Monitoring Tools and Services

Azure Monitor

Azure Monitor is the central hub for monitoring your Azure resources. It provides:

Log Analytics

By routing AAS diagnostic logs to Log Analytics, you can perform powerful Kusto Query Language (KQL) queries to analyze:

Tip: Configure diagnostic settings to send Engine and ServiceLog logs to Log Analytics for comprehensive troubleshooting.

Performance Tuning Advisor

While not a direct monitoring tool, the Performance Tuning Advisor in Azure portal can analyze your models and provide recommendations for performance improvements, which indirectly aids in monitoring by identifying potential bottlenecks.

Setting Up Alerts

Proactive alerting is key to maintaining service health. Consider setting up alerts for the following scenarios:

Best Practices for Monitoring

Example KQL Query for Long-Running Queries

The following Kusto Query Language (KQL) query, when run in Log Analytics, can help identify queries that are taking longer than a specified duration:


AzureDiagnostics
| where ResourceProvider == "MICROSOFT.ANALYSISSERVICES" and Category == "Engine"
| where OperationName == "Execute"
| extend Duration = todouble(parse_xml(Properties).Duration)
| where Duration > 300000 // Filter for queries longer than 5 minutes (300,000 milliseconds)
| project TimeGenerated, OperationName, Duration, ClientActivityId, ResultType, Properties
| order by Duration desc
                

This query helps you pinpoint specific queries that might be impacting performance and require optimization.

Next Steps

After reviewing this monitoring guide, consider: