Shachar Sharon has uploaded this change for review.

View Change

scripts: Prometheus metrics exporter for NFS-Ganesha

Prometheus is the de-facto standard framework for monitoring
containerized applications running over a Kubernetes cluster.
Implement a python metrics exporter for NFS-ganesha, which
represents the information provided via DBus interface as
Prometheus metrics. Uses that same APIs as 'ganesha_stats',
but exports the information over HTTP in standard Prometheus
metrics format.

By default, exports the metrics via HTTP over port 8080.

Change-Id: If6856ad3675ffb52cf3245955fc7911b9f4253df
Signed-off-by: Shachar Sharon <ssharon@redhat.com>
---
M src/scripts/ganeshactl/CMakeLists.txt
A src/scripts/ganeshactl/ganesha_prometheus_exporter.py
2 files changed, 376 insertions(+), 0 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If6856ad3675ffb52cf3245955fc7911b9f4253df
Gerrit-Change-Number: 543171
Gerrit-PatchSet: 1
Gerrit-Owner: Shachar Sharon <ssharon@redhat.com>
Gerrit-MessageType: newchange