Yoni Couriel has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1194937?usp=email )
Change subject: Use prometheus-cpp-lite and extract to a separate lib.
......................................................................
Use prometheus-cpp-lite and extract to a separate lib.
We add lightweight HTTP endpoint for scraping by Prometheus server.
The monitoring library is extracted to shared object, in order to support any
component to export metrics, especially libntirpc.
Change-Id: I65e01c3cccddbbb8bf6725419c71c4dab8500b21
Signed-off-by: Yoni Couriel <yonic(a)google.com>
---
M .gitignore
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/libganesha_nfsd.ver
A src/MainNFSD/nfs_metrics.c
A src/include/nfs_metrics.h
M src/monitoring/CMakeLists.txt
A src/monitoring/exposer.cc
A src/monitoring/include/exposer.h
R src/monitoring/include/monitoring.h
M src/monitoring/monitoring.cc
D src/monitoring/monitoring_internal.h
M src/nfs-ganesha.spec-in.cmake
M src/support/server_stats.c
16 files changed, 629 insertions(+), 279 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/37/1194937/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1194937?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I65e01c3cccddbbb8bf6725419c71c4dab8500b21
Gerrit-Change-Number: 1194937
Gerrit-PatchSet: 1
Gerrit-Owner: Yoni Couriel <yonic(a)google.com>