]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/admin: add desc for DumpPerfCountersHook
authorKefu Chai <kchai@redhat.com>
Sat, 15 May 2021 05:58:33 +0000 (13:58 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 18 May 2021 10:05:33 +0000 (18:05 +0800)
logger and counter are used when executing the hook

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/admin/osd_admin.cc

index dd1f9e3be22314259655f68fbf2eb4c2d98cb8cc..a1d308351a7ab8c41f1055e58348c97612f36dca 100644 (file)
@@ -137,7 +137,8 @@ class DumpPerfCountersHook final: public AdminSocketHook {
 public:
   explicit DumpPerfCountersHook(const crimson::osd::OSD &osd) :
     AdminSocketHook{"perfcounters_dump",
-                    "",
+                    "name=logger,type=CephString,req=false "
+                    "name=counter,type=CephString,req=false",
                     "dump perfcounters in osd and store"},
     osd{osd}
   {}