

def _transform_metric(self, m_name, val):
    ' Add any special case transformations here '
    if (self[0:11] in ('system.mem.', 'system.disk')):
        return (val / 1024)
    return val

dataset/ETHPy150Open serverdensity/sd-agent/checks.d/cacti.py Cacti._transform_metric/VarMisuse@18/38 `m_name`->`self`