This is used by dashboard and status modules,
so let's make sure we're sending it to the mgr.
Fixes: http://tracker.ceph.com/issues/21927
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit
1d0a7d1f35e1c1be472b0555323a9d2ac2d2d777)
PerfCountersBuilder plb(g_ceph_context, "mds_sessions",
l_mdssm_first, l_mdssm_last);
plb.add_u64(l_mdssm_session_count, "session_count",
- "Session count");
+ "Session count", "sess", PerfCountersBuilder::PRIO_USEFUL);
plb.add_u64_counter(l_mdssm_session_add, "session_add",
"Sessions added");
plb.add_u64_counter(l_mdssm_session_remove, "session_remove",