Microsoft Certified: DevOps Engineer ExpertImplement an instrumentation strategyEasy
A DevOps team is managing a complex microservices application deployed on Azure Kubernetes Service (AKS). They need to ensure that all custom metrics generated by their application, such as order processing rates and inventory levels, are collected and available for monitoring and alerting. These metrics should be stored in a centralized location for long-term analysis. Which Azure service should they use to ingest and store these custom application metrics?
- AAzure Event Hubs
- BAzure Data Lake Storage
- CAzure Service Bus
- DAzure Monitor custom metrics
Show answer & explanationAnswer & explanation
Correct answer: D. Azure Monitor custom metrics
Azure Monitor custom metrics allow applications to send arbitrary metrics to Azure Monitor for storage, visualization, and alerting. This directly addresses the requirement for collecting and storing custom application-specific metrics.
Why the other options are wrong
- A. Azure Event Hubs is a real-time data ingestion service, not primarily for storing and querying metrics.
- B. Azure Data Lake Storage is for large-scale data analytics, not optimized for real-time metric collection and querying.
- C. Azure Service Bus is a messaging service for decoupling applications, not for metric collection.
Azure Monitor Custom Metrics
A feature of Azure Monitor that allows applications to send custom, application-specific metrics for monitoring, visualization, and alerting alongside platform metrics. These metrics can be numerical values representing any aspect of an application's behavior or performance.
- Enables collection of application-specific data points.
- Integrates with Azure Monitor for dashboards and alerts.
- Supports various ingestion methods like Application Insights SDK or REST API.
Memory trick: My App's Custom Stats go straight to Monitor's Metrics.