X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fmon%2FMonCap.cc;h=2f2378f624631d2640b4484b6041f40bc709f521;hb=2a845540123ad00df2e55947b8080306ebdcf410;hp=e1dc3723965916f5cd0d364ab9b35cf59723727d;hpb=0948533fc3b372aaa92e1cd3da22f2258220e199;p=ceph.git diff --git a/ceph/src/mon/MonCap.cc b/ceph/src/mon/MonCap.cc index e1dc37239..2f2378f62 100644 --- a/ceph/src/mon/MonCap.cc +++ b/ceph/src/mon/MonCap.cc @@ -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") {