Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 2.89 KB

File metadata and controls

46 lines (34 loc) · 2.89 KB

Note

This documentation for Azure workbooks is now located at: https://learn.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-chart-visualizations#metric-charts Please do not edit this file. All up-to-date information is in the new location and documentation should only be updated there.

Metric Charts

Most Azure resources emit metric data about state and health (e.g. CPU utilization, storage availability, count of database transactions, failing app requests, etc). Workbooks allow the visualization of this data as time-series charts.

The example below shows the number of transactions in a storage account over the prior hour. This allows the storage owner to see the transaction trend and look for anomalies in behavior.

Image showing a metric area chart for Storage transactions in a workbook

Adding a metric chart

  1. Switch the workbook to edit mode by clicking on the Edit toolbar item.
  2. Use the Add metric link to add a metric control to the workbook.
  3. Select a resource type (e.g. Storage Account), the resources to target, the metric namespace and name, and the aggregation to use.
  4. Set other parameters if needed - like time range, split-by, visualization, size and color palette.

Here is the edit mode version of the metric chart above:

Image showing a metric area chart for Storage transactions in edit mode

Metric chart parameters

Parameter Explanation Example
Resource Type The resource type to target Storage or Virtual Machine.
Resources A set of resources to get the metrics value from MyStorage1
Namespace The namespace with the metric Storage > Blob
Metric The metric to visualize Storage > Blob > Transactions
Aggregation The aggregation function to apply to the metric Sum, Count, Average, etc.
Time Range The time window to view the metric in Last hour, Last 24 hours, etc.
Visualization The visualization to use Area, Bar, Line, Scatter, Grid
Split By Optionally split the metric on a dimension Transactions by Geo type
Size The vertical size of the control Small, medium or large
Color palette The color palette to use in the chart. Ignored if the Split by parameter is used Blue, green, red, etc.

Examples

Transactions Split by API Name as a Line Chart

Image showing a metric line chart for Storage transactions split by API name

Transactions Split by Response type as a large Bar Chart

Image showing a large metric bar chart for Storage transactions split by response type

Average Latency as a Scatter Chart

Image showing a metric scatter chart for Storage latency