sragraha@redhat.com has uploaded this change for review.

View Change

Add Ganesha resource usage metrics for Prometheus

nfs_memory_resident_ram_size: Resident set size (physical RAM used by the process), in MB
nfs_virtual_ram_size: Virtual memory usage of the process, in GB
nfs_memory_swap_size: Swap memory used by the process, in KB
nfs_cpu_utilization: Average CPU utilization by the Ganesha service, expressed as a percent

Change-Id: I961d4e1d5ea1a638a27ca80d399effdcb35a633c
Signed-off-by: Sreedhar Agraharam <sragraha@redhat.com>
---
M src/monitoring/CMakeLists.txt
M src/monitoring/dynamic_metrics.cc
M src/monitoring/include/dynamic_metrics.h
M src/monitoring/include/prometheus_exposer.h
M src/monitoring/prometheus_exposer.cc
5 files changed, 82 insertions(+), 1 deletion(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/81/1222981/1

To view, visit change 1222981. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I961d4e1d5ea1a638a27ca80d399effdcb35a633c
Gerrit-Change-Number: 1222981
Gerrit-PatchSet: 1
Gerrit-Owner: sragraha@redhat.com