Skip to content

Commit

Permalink
Update monitoring_prometheus/models/psutils_helpers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandre Fayolle <[email protected]>
  • Loading branch information
vrenaville and gurneyalex authored Aug 2, 2024
1 parent ce94800 commit b479442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitoring_prometheus/models/psutils_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit b479442

Please sign in to comment.