roybabayov@gmail.com has uploaded this change for review.

View Change

Update Ganesha monitoring module

* Split monitoring module to infra, dynamic metrics, http exposer
* Move Ganesha monitoring infra to libntirpc
* No longer requires the prometheus-cpp-lite submodule to
exist during build when building with USE_MONITORING=OFF.
* Improved the noop implementation for USE_MONITORING=OFF.
Consumers of the infra no longer need to check the
USE_MONITORING flag (will run noop calls when flag is off)

Change-Id: I3a46dd81aba82ec1c56fcc116288a5ecc88f6761
Signed-off-by: Roy Babayov <roybabayov@google.com>
---
M .gitignore
M .gitmodules
M src/CMakeLists.txt
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/MainNFSD/CMakeLists.txt
M src/MainNFSD/nfs_init.c
M src/MainNFSD/nfs_main.c
M src/MainNFSD/nfs_metrics.c
M src/MainNFSD/nfs_rpc_dispatcher_thread.c
M src/include/nfs_metrics.h
M src/libntirpc
M src/monitoring/CMakeLists.txt
R src/monitoring/dynamic_metrics.cc
A src/monitoring/include/dynamic_metrics.h
D src/monitoring/include/monitoring.h
R src/monitoring/include/prometheus_exposer.h
D src/monitoring/prometheus-cpp-lite
R src/monitoring/prometheus_exposer.cc
M src/nfs-ganesha.spec-in.cmake
M src/support/server_stats.c
21 files changed, 304 insertions(+), 591 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I3a46dd81aba82ec1c56fcc116288a5ecc88f6761
Gerrit-Change-Number: 1208656
Gerrit-PatchSet: 1
Gerrit-Owner: roybabayov@gmail.com