Vidya.Thumukunta@ibm.com has uploaded this change for review.
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@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 change 1242430. To unsubscribe, or for help writing mail filters, visit settings.