Monitoring and logging
Overview
Azure provides a comprehensive set of monitoring and logging capabilities to help you gain visibility into your applications, infrastructure, and services deployed in the Azure cloud. These monitoring and logging features enable you to proactively detect issues, troubleshoot problems, and optimize the performance of your resources. Here are the key aspects of Azure monitoring and logging:
Key aspects
1. Azure Monitor:
- Azure Monitor is a centralized monitoring service that provides a unified view of your Azure resources and applications.
- It collects and analyzes telemetry data from various sources, including Azure services, virtual machines, and custom applications.
- Azure Monitor offers features like metrics, logs, alerts, and dashboards for real-time monitoring and analysis.
2. Metrics:
- Azure Monitor captures metrics related to the performance and health of Azure resources.
- Metrics include CPU usage, memory consumption, network throughput, and other resource-specific indicators.
- You can visualize and analyze these metrics using Azure Monitor or integrate them with other monitoring and analytics tools.
3. Logs:
- Azure Monitor collects log data from various sources, including Azure resources, applications, and operating systems.
- Logs provide detailed insights into the behavior and activities of your resources.
- Azure Monitor supports different log types, such as activity logs, diagnostic logs, and custom logs, allowing you to track events, errors, and custom application logs.
4. Azure Log Analytics:
- Azure Log Analytics is a powerful data analysis and query tool within Azure Monitor.
- It enables you to collect, correlate, and analyze log data from multiple sources.
- Log Analytics supports querying and visualizing log data using a powerful query language, and it provides advanced features like machine learning-based anomaly detection.
5. Application Insights:
- Application Insights is a service within Azure Monitor that focuses on application performance monitoring (APM).
- It helps you monitor the performance and availability of your applications, including web applications, mobile apps, and APIs.
- Application Insights provides insights into request response times, dependency tracking, error diagnostics, and application performance trends.
6. Alerts and Notifications:
- Azure Monitor enables you to set up alerts based on metrics and logs.
- You can define alert rules to trigger notifications or take automated actions when specific conditions are met, such as threshold breaches or specific log entries.
By leveraging Azure monitoring and logging capabilities, you can gain insights into the performance, availability, and health of your applications and infrastructure. This allows you to proactively identify and resolve issues, optimize resource utilization, and deliver a reliable and high-performing experience to your users.
Resources monitored with AosEdge infrastructure
1. AKS OMS Agent:
- AKS (Azure Kubernetes Service) OMS Agent allows you to collect logs and monitoring data from your AKS clusters.
- It integrates with Azure Monitor and Azure Log Analytics workspace to provide centralized monitoring and analysis capabilities.
- The OMS Agent gathers container logs, cluster performance metrics, and cluster-level events.
2. Storage Accounts:
- Azure Storage provides monitoring capabilities for Storage Accounts.
- Enabled for the Storage Accounts to capture information such as read/write operations, access attempts, and errors.
3. Container Registry:
- Azure Container Registry supports Azure Monitor and Azure Log Analytics integration.
- Enabled the diagnostic logs for Container Registry to capture events like image pushes, pulls, and deletes, as well as repository-level events.
4. PostgreSQL Server:
- Azure Database for PostgreSQL provides built-in monitoring capabilities.
- You can access metrics related to CPU usage, memory utilization, storage, and more.
5. Key Vaults:
- Azure Key Vault integrates with Azure Monitor and Azure Log Analytics for monitoring and logging.
- Enabled the diagnostic logging for Key Vaults to capture operations like key vault access, key creation, and secret management.