
Cloud
Learning Level
from azure.monitor.query import MetricsQueryClient
client = MetricsQueryClient(credential)
# Query custom metrics
metrics = client.query_resource(
resource_id,
metric_names=["CustomMetric"],
timespan="PT1H"
)AppInsights
| where timestamp > ago(1d)
| summarize avg(duration) by operation_Name
| where avg_duration > 100
| order by avg_duration desc# Create metric alert
az monitor metrics alert create \
--name "High Latency Alert" \
--resource-group myResourceGroup \
--scopes /subscriptions/.../myApp \
--condition "avg Duration > 500" \
--window-size 5m \
--evaluation-frequency 1mExplore identity and access management.
Resources
Ojasa Mirai
Master AI-powered development skills through structured learning, real projects, and verified credentials. Whether you're upskilling your team or launching your career, we deliver the skills companies actually need.
Learn Deep • Build Real • Verify Skills • Launch Forward