]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/MonCap.cc
import ceph quincy 17.2.4
[ceph.git] / ceph / src / mon / MonCap.cc
index e1dc3723965916f5cd0d364ab9b35cf59723727d..2f2378f624631d2640b4484b6041f40bc709f521 100644 (file)
@@ -213,6 +213,9 @@ void MonCapGrant::expand_profile(const EntityName& name) const
     profile_grants.push_back(MonCapGrant("auth rm"));
     // tell commands (this is a bit of a kludge)
     profile_grants.push_back(MonCapGrant("smart"));
+    // allow the Telemetry module to gather heap and mempool metrics
+    profile_grants.push_back(MonCapGrant("heap"));
+    profile_grants.push_back(MonCapGrant("dump_mempools"));
   }
   if (profile == "osd" || profile == "mds" || profile == "mon" ||
       profile == "mgr") {