diff --git a/monitoring_prometheus/models/psutils_helpers.py b/monitoring_prometheus/models/psutils_helpers.py index 1803aac6..da43cf56 100644 --- a/monitoring_prometheus/models/psutils_helpers.py +++ b/monitoring_prometheus/models/psutils_helpers.py @@ -26,7 +26,7 @@ def get_process_info(): process.info["memory_full_info"].rss / 1024 / 1024 ) MEMORY_USAGE_RSS.labels(ProcessLabel, process.info["pid"]).set( - process.info["memory_full_info"].vms / 1024 / 1024 + process.info["memory_full_info"].vms // 1000000 ) except (psutil.NoSuchProcess, psutil.AccessDenied, psutil.ZombieProcess):