mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <>
Subject Re: Review Request 67255: Added per-CSI-call RPC metrics for SLRP.
Date Thu, 31 May 2018 23:06:16 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated May 31, 2018, 11:06 p.m.)

Review request for mesos, Benjamin Bannier, Greg Mann, Jie Yu, and Jan Schlicht.


Addressed Jie's comments.

Bugs: MESOS-8943

Repository: mesos


For each CSI call, e.g., `csi.v0.Identity.Probe`, we the following
metrics for SLRP:

To add these per-CSI-call metrics, each method in `csi::v0::Client`,
e.g., `csi::v0::Client::Probe`, is changed to
`csi::v0::Client::call<PROBE>`, to make RPC calls based on the RPC enum
value. A `call` helper function in SLRP is also added to intercept CSI
calls and update the corresponding metrics.

Diffs (updated)

  src/csi/client.hpp 9d7019afb08168d18e5a78831a45af88a75bf809 
  src/csi/client.cpp a4ba1f12a79354f81b29924b19b119fad31a06b9 
  src/resource_provider/storage/provider.cpp 2c7dd8d96915d68a7cdfcb870d5448bc25ea9011 
  src/tests/csi_client_tests.cpp d5993d617056e86ae5a1224258cc6e0741466166 




sudo make check

A unit test for the metrics will be introduced in the next patch.


Chun-Hung Hsiao

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message