Missing metrics in maas observability stack

Bug #2028132 reported by Francesco De Simone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Committed
High
Alexsander de Souza

Bug Description

I am following this documentation how to monitor maas https://maas.io/docs/how-to-monitor-maas.
I saw some dashboard available in the maas performance repo https://git.launchpad.net/~maas-committers/maas/+git/maas-performance/tree/grafana/dashboards but most of them use metrics not available. According the metric reference https://maas.io/docs/metrics-reference I should see maas_node, maas_machines and other metrics that are not available for me in prometheus

Edit:
Adding more information about maas installation
snap list maas
Name Version Rev Tracking Publisher Notes
maas 3.2.8-12050-g.fc2c8d020 28584 3.2/stable canonical✓ -

 dpkg --list postgresql
postgresql 14+238 all object-relational SQL database (supported version)

Edit:
maas latest/edge channel seems also affected by this

Related branches

description: updated
description: updated
Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

MAAS has 2 metrics endpoints:

- performance metrics: $MAAS_HOST:5239/metrics (region) or $MAAS_HOST:5249/metrics (rack)
- cluster metrics: $MAAS_HOST:5240/MAAS/metrics

Cluster metrics needs to be enabled first:

$ maas $PROFILE maas set-config name=prometheus_enabled value=true

Changed in maas:
status: New → Incomplete
Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

The sample configuration is missing the cluster metrics endpoint, and the docs are missing the command to enable them.

Changed in maas:
status: Incomplete → Triaged
importance: Undecided → High
milestone: none → 3.5.0
assignee: nobody → Alexsander de Souza (alexsander-souza)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.