Skip to content

Conversation

@Abuelodelanada
Copy link

@Abuelodelanada Abuelodelanada commented Sep 27, 2025

A Prometheus exporter for Multipass that exposes metrics about your Multipass instances added.

Metrics exposed

# HELP multipass_instances_total Total number of Multipass instances
# TYPE multipass_instances_total gauge
multipass_instances_total 8

# HELP multipass_instances_running Total number of Multipass running instances
# TYPE multipass_instances_running gauge
multipass_instances_running 6

# HELP multipass_instances_stopped Total number of Multipass stopped instances
# TYPE multipass_instances_stopped gauge
multipass_instances_stopped 1

# HELP multipass_instances_deleted Total number of Multipass deleted instances
# TYPE multipass_instances_deleted gauge
multipass_instances_deleted 1

# HELP multipass_instances_suspended Total number of Multipass suspended instances
# TYPE multipass_instances_suspended gauge
multipass_instances_suspended 0

# HELP multipass_instance_memory_bytes Memory usage of Multipass instances in bytes
# TYPE multipass_instance_memory_bytes gauge
multipass_instance_memory_bytes{name="charm-dev-36",release="Ubuntu 24.04.3 LTS"} 3.388157952e+09
multipass_instance_memory_bytes{name="coslite",release="Ubuntu 22.04.2 LTS"} 2.986962944e+09
multipass_instance_memory_bytes{name="edp",release="Ubuntu 23.10"} 1.530298368e+09

# HELP multipass_instance_cpu_total Total number of CPUs in Multipass instances
# TYPE multipass_instance_cpu_total gauge
multipass_instance_cpu_total{name="charm-dev-36",release="Ubuntu 24.04.3 LTS"} 2
multipass_instance_cpu_total{name="coslite",release="Ubuntu 22.04.2 LTS"} 1
multipass_instance_cpu_total{name="edp",release="Ubuntu 23.10"} 4

# HELP multipass_instance_load_1m Average number of processes running on CPU or in queue waiting for CPU time in the last minute
# TYPE multipass_instance_load_1m gauge
multipass_instance_load_1m{name="charm-dev-36",release="Ubuntu 24.04.3 LTS"} 0.11
multipass_instance_load_1m{name="coslite",release="Ubuntu 22.04.2 LTS"} 0.23
multipass_instance_load_1m{name="edp",release="Ubuntu 23.10"} 0.15

# HELP multipass_instance_load_5m Average number of processes running on CPU or in queue waiting for CPU time in the last 5 minutes
# TYPE multipass_instance_load_5m gauge
multipass_instance_load_5m{name="charm-dev-36",release="Ubuntu 24.04.3 LTS"} 0.23
multipass_instance_load_5m{name="coslite",release="Ubuntu 22.04.2 LTS"} 0.3
multipass_instance_load_5m{name="edp",release="Ubuntu 23.10"} 0.28

# HELP multipass_instance_load_15m Average number of processes running on CPU or in queue waiting for CPU time in the last 15 minutes
# TYPE multipass_instance_load_15m gauge
multipass_instance_load_15m{name="charm-dev-36",release="Ubuntu 24.04.3 LTS"} 0.3
multipass_instance_load_15m{name="coslite",release="Ubuntu 22.04.2 LTS"} 0.4
multipass_instance_load_15m{name="edp",release="Ubuntu 23.10"} 0.35

# HELP multipass_instance_disk_used_bytes Disk usage in bytes in Multipass instances
# TYPE multipass_instance_disk_used_bytes gauge
multipass_instance_disk_used_bytes{name="charm-dev-36",disk="sda1",release="Ubuntu 24.04.3 LTS"} 1.073741824e+10
multipass_instance_disk_used_bytes{name="coslite",disk="sda1",release="Ubuntu 22.04.2 LTS"} 8.589934592e+09
multipass_instance_disk_used_bytes{name="edp",disk="sda1",release="Ubuntu 23.10"} 5.36870912e+08

# HELP multipass_instance_disk_total_bytes Total disk space in bytes in Multipass instances
# TYPE multipass_instance_disk_total_bytes gauge
multipass_instance_disk_total_bytes{name="charm-dev-36",disk="sda1",release="Ubuntu 24.04.3 LTS"} 2.147483648e+10
multipass_instance_disk_total_bytes{name="coslite",disk="sda1",release="Ubuntu 22.04.2 LTS"} 1.717986918e+10
multipass_instance_disk_total_bytes{name="edp",disk="sda1",release="Ubuntu 23.10"} 1.073741824e+10

# HELP multipass_error Error collecting metrics from Multipass
# TYPE multipass_error gauge
multipass_error 0

Multipass exporter added

Signed-off-by: Jose C. Massón <939888+Abuelodelanada@users.noreply.github.com>
@Abuelodelanada Abuelodelanada changed the title Update exporters.md Multipass exporter added to exporters.md Sep 27, 2025
@Abuelodelanada
Copy link
Author

Hi @ywwg

Dow you think this addition is suitable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant