Resource Metrics Explorer
A 2-step recipe with Azure Monitor. We can help you get access.
Recipe · 2 steps
Resource Metrics Explorer
with Azure Monitor · Observability Management
List a resource's metric definitions, then read the metric values for a chosen metric.
- List the metric definitions exposed by the resource so the caller can confirm the metric name and namespace before reading values.
- Read the metric values for the requested metric over the supplied timespan and interval.
What you'll need to have ready
- resourceUri: The full ARM resource identifier to query metrics for (e.g. subscriptions/.../resourceGroups/.../providers/...).
- metricNamespace: The metric namespace to scope metric definitions and values to.
- metricnames: The comma-separated metric names to retrieve values for.
- timespan: The timespan of the query in ISO 8601 duration format (start/end).
- interval: The interval (window size) of the query in ISO 8601 duration format.
- aggregation: The comma-separated list of aggregation types to retrieve.
For your developer
Arazzo workflow microsoft-azure-monitor:explore-resource-metrics, 2 operations: MetricDefinitions_List → Metrics_List. Specs on APIs.io.