Edit

Supported metrics for microsoft.network/bastionHosts

The following table lists the metrics available for the microsoft.network/bastionHosts resource type.

Table headings

  • Metric - The metric display name as it appears in the Azure portal.
  • Name in Rest API - Metric name as referred to in the REST API.
  • Advanced platform metrics - A premium, paid tier of platform metrics in Azure Monitor that provide more granular observability for Azure resources.
  • Unit - Unit of measure.
  • Aggregation - The default aggregation type. Valid values: Average, Minimum, Maximum, Total, Count.
  • Dimensions - Dimensions available for the metric.
  • Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
  • DS Export -S Whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.

For information on exporting metrics, see - Metrics export using data collection rules and Create diagnostic settings in Azure Monitor.

For information on metric retention, see Azure Monitor Metrics overview.

For a list of supported logs, see Supported log categories - microsoft.network/bastionHosts

Category: Availability

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Bastion Communication Status

Communication status shows 1 if all communication is good and 0 if its bad.
pingmesh No Count Average <none> PT1M No

Category: Saturation

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Total Memory

Total memory stats.
total No Count Average host PT1M Yes
CPU Usage

CPU Usage stats.
usage_user No Count Average cpu, host PT1M No
Memory Usage

Memory Usage stats.
used No Count Average host PT1M Yes

Category: Traffic

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Session Count

Sessions Count for the Bastion. View in sum and per instance.
sessions No Count Total (Sum), Average host PT5M, PT15M No

Next steps