Offline docs (switch to live docs)                          UI-only  CLI-only

MAAS metrics reference

Details of parameters measured by MAAS metrics

Errors or typos? Topics missing? Hard to read? Let us know!

This document provides a comprehensive reference for the available MAAS metrics, categorised into two main sections: "Cluster metrics" and "Performance metrics." These metrics are crucial for monitoring and managing your MAAS infrastructure effectively.

In the following sections, we will delve deeper into each metric, providing detailed tables to help you make the most of MAAS metrics for your infrastructure management.

Cluster metrics

maas_machines

The number of machines known by MAAS, by status

maas_nodes

Number of nodes known by MAAS per type (machine, device or controller)

Label Description
maas_id MAAS cluster UUID
type type of node (machine/device/controller)
[/details]

maas_net_spaces

Number of network spaces

Label Description
maas_id MAAS cluster UUID
[/details]

maas_net_fabrics

Number of network fabrics

Label Description
maas_id MAAS cluster UUID
[/details]

maas_net_vlans

Number of network VLANs

Label Description
maas_id MAAS cluster UUID
[/details]

maas_net_subnets_v4

Number of IPv4 subnets

Label Description
maas_id MAAS cluster UUID
[/details]

maas_net_subnets_v6

Number of IPv6 subnets

Label Description
maas_id MAAS cluster UUID
[/details]

maas_net_subnet_ip_count

Number of IPs in a subnet by status

Label Description
maas_id MAAS cluster UUID
status available or used
[/details]

maas_net_subnet_ip_dynamic

Number of used dynamic IPs in a subnet

Label Description
maas_id MAAS cluster UUID
status available or used
cidr subnet address
[/details]

maas_net_subnet_ip_reserved

Number of used reserved IPs in a subnet

Label Description
maas_id MAAS cluster UUID
status available or used
cidr subnet address
[/details]

maas_net_subnet_ip_static

Number of used static IPs in a subnet

Label Description
maas_id MAAS cluster UUID
status available or used
cidr subnet address
[/details]

maas_machines_total_mem

Amount of combined memory for all machines

Label Description
maas_id MAAS cluster UUID
[/details]

maas_machines_total_cpu

Amount of combined CPU counts for all machines

Label Description
maas_id MAAS cluster UUID
[/details]

maas_machines_total_storage

Amount of combined storage space for all machines

Label Description
maas_id MAAS cluster UUID
[/details]

maas_kvm_pods

Number of KVM hosts

Label Description
maas_id MAAS cluster UUID
[/details]

maas_kvm_machines

Number of virtual machines allocated in KVM hosts

Label Description
maas_id MAAS cluster UUID
[/details]

maas_kvm_cores

Total number of CPU cores present on KVM hosts

Label Description
maas_id MAAS cluster UUID
status available or used
[/details]

maas_kvm_memory

Total amount of RAM present on KVM hosts

Label Description
maas_id MAAS cluster UUID
status available or used
[/details]

maas_kvm_storage

Total amount of storage space present on KVM hosts

Label Description
maas_id MAAS cluster UUID
status available or used
[/details]

maas_kvm_overcommit_cores

Total number of CPU cores present on KVM hosts adjusted by the overcommit setting

Label Description
maas_id MAAS cluster UUID
[/details]

maas_kvm_overcommit_memory

Total amount of RAM present on KVM hosts adjusted by the overcommit setting

Label Description
maas_id MAAS cluster UUID
[/details]

maas_machine_arches

Total number of machines per architecture

Label Description
maas_id MAAS cluster UUID
arch machine architecture
[/details]

maas_custom_static_images_uploaded

Number of custom OS images present in MAAS

Label Description
maas_id MAAS cluster UUID
base_image custom image base OS
file_type image file type
[/details]

maas_custom_static_images_deployed

Number deployed machines running custom OS images

Label Description
maas_id MAAS cluster UUID
[/details]

maas_vmcluster_projects

Number of KVM clusters

Label Description
maas_id MAAS cluster UUID
[/details]

maas_vmcluster_hosts

Total number of KVM hosts in clusters

Label Description
maas_id MAAS cluster UUID
[/details]

maas_vmcluster_vms

Total number of virtual machines in KVM clusters

Label Description
maas_id MAAS cluster UUID
[/details]

Performance metrics

maas_http_request_latency

The time MAAS takes to process a REST API call. It doesn't include any time associated with network, including proxy processing

Label Description
host controller IP address
maas_id MAAS cluster UUID
method HTTP method
op REST API operation name
path REST API endpoint
status HTTP response status code
[/details]

maas_http_response_size

The size of REST API responses

Label Description
host controller IP address
maas_id MAAS cluster UUID
method HTTP method
op REST API operation name
path REST API endpoint
status HTTP response status code
[/details]

maas_http_request_query_count

The number of database operations executed per REST API call

Label Description
host controller IP address
maas_id MAAS cluster UUID
method HTTP method
op REST API operation name
path REST API endpoint
status HTTP response status code
[/details]

maas_http_request_query_latency

The time required to perform a single database operation during a REST API call. The database latency is measured from the moment MAAS starts a transaction until it gets the response

Label Description
host controller IP address
maas_id MAAS cluster UUID
method HTTP method
op REST API operation name
path REST API endpoint
status HTTP response status code
[/details]

maas_rack_region_rpc_call_latency

The time a Region controller takes to perform a RPC call to a Rack controller. The latency is measured from the request to the response.

Label Description
call RPC operation
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_region_rack_rpc_call_latency

The time a Rack controller takes to perform a RPC call to a Region controller. The latency is measured from the request to the response.

Label Description
call RPC operation
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_websocket_call_query_count

The number of database operations executed per WebSocket call

Label Description
call WS operation
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_websocket_call_query_latency

The time required to perform a single database operation during a WebSocket call. The database latency is measured from the moment MAAS starts a transaction until it gets the response

Label Description
call WS operation
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_websocket_call_latency

The time MAAS takes to process a WebSocket call. It doesn't include any time associated with network, including proxy processing

Label Description
call WS operation
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_dns_update_latency

The time MAAS takes to setup all zones in the DNS service per update type, which can be 'reload' (cold-start) or 'dynamic' (RNDC operation)

Label Description
host controller IP address
maas_id MAAS cluster UUID
update_type reload or dynamic
[/details]

maas_dns_full_zonefile_write_count

Count of full DNS zone rewrite operations

Label Description
host controller IP address
maas_id MAAS cluster UUID
zone DNS zone name
[/details]

maas_dns_dynamic_update_count

Count of dynamic DNS zone update operations

Label Description
host controller IP address
maas_id MAAS cluster UUID
zone DNS zone name
[/details]

maas_rpc_pool_exhaustion_count

number of occurrences of the RPC connection pool allocate its maximum number of connections

Label Description
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_lxd_fetch_machine_failure

Total number of failures for fetching LXD machines

Label Description
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_lxd_disk_creation_failure

Total number of failures of LXD disk creation

Label Description
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_virsh_storage_pool_creation_failure

Total number of failures of virsh storage pool creation

Label Description
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_virsh_fetch_mac_failure

Total number of failures of virsh interfaces enumeration

Label Description
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_virsh_fetch_description_failure

Total number of failures of virsh domain description

Label Description
host controller IP address
maas_id MAAS cluster UUID
[/details]

maas_tftp_file_transfer_latency

Time required to transfer a file to a machine using TFTP

Label Description
host controller IP address
maas_id MAAS cluster UUID
filename file requested
[/details]