Vidya.Thumukunta(a)ibm.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242430?usp=email )
Change subject: gRPC: gRPC export I/O show stats APIs
......................................................................
gRPC: gRPC export I/O show stats APIs
Added the Export Statistics gRPC APIs by converting the
corresponding D-Bus interfaces:
- GetNFSv3IO
- GetNFSv40IO
- GetNFSv41IO
- GetNFSv42IO
- GetNFSMonIO
- GetTotalOPS
- GetNFSIO
- GetGlobalOPS
The implementation reuses the existing server statistics collection
logic and exposes the export and global statistics through the gRPC
ExportStats service.
Change-Id: Ia237e8bcfe5e00d37cdaf3f9667c35adf1c95743
Signed-off-by: VidyaThumukunta <vidya.thumukunta(a)ibm.com>
---
M src/grpc_server/GrpcServer.cc
M src/grpc_server/GrpcServer.h
M src/grpc_server/nfsService.h
M src/grpc_server/nfsServiceServer.cc
A src/grpc_server/proto/exportService.proto
M src/grpc_server/proto/nfsProtoUtil.proto
M src/include/server_stats_grpc.h
M src/support/export_mgr.c
M src/support/server_stats.c
9 files changed, 864 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/30/1242430/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242430?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: Ia237e8bcfe5e00d37cdaf3f9667c35adf1c95743
Gerrit-Change-Number: 1242430
Gerrit-PatchSet: 1
Gerrit-Owner: Vidya.Thumukunta(a)ibm.com