Memory/swap metrics recorded in wrong size

Bug #1498188 reported by Bryan Stillwell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Monasca
Invalid
Undecided
Unassigned

Bug Description

All the metrics for memory and swap are converted from bytes to megabytes in this file:

https://github.com/stackforge/monasca-agent/blob/master/monasca_agent/collector/checks_d/memory.py

This doesn't work well for grafana since it has a native 'bytes' option, but no 'megabytes' option. At one time there was a fixme to correct this situation, but it appears like it was lost during a refactor:

https://github.com/stackforge/monasca-agent/blob/ab9b87a310aabad11168610d6c386a89e3c0bc82/monasca_agent/collector/checks/system/unix.py#L559

Revision history for this message
Allan G (greental) wrote :

enhancement request

Changed in monasca:
status: New → Invalid
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.