From 509d1a0e8c92f2472739c3c9db100f194a8b7edb Mon Sep 17 00:00:00 2001 From: huanwen ren Date: Wed, 1 Mar 2017 16:36:34 +0800 Subject: [PATCH] doc/mgr: svc_name is modified to svc_id svc_name is modified to svc_id, refer to the definition of "static PyObject* get_counter(...)" Signed-off-by: huanwen ren --- doc/mgr/plugins.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/mgr/plugins.rst b/doc/mgr/plugins.rst index 89f74469b7470..dc15acf1d60e3 100644 --- a/doc/mgr/plugins.rst +++ b/doc/mgr/plugins.rst @@ -127,7 +127,7 @@ Fetch the daemon metadata for a particular service. svc_type is one of osd or mds, and svc_id is a string (convert OSD integer IDs to strings when calling this). -``get_counter(self, svc_type, svc_name, path)`` +``get_counter(self, svc_type, svc_id, path)`` Fetch the latest performance counter data for a particular counter. The path is a period-separated concatenation of the subsystem and the counter