Merge PR #18537 into master

* refs/pull/18537/head:
	mds: set PRIO_USEFUL on num_sessions counter

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2017-10-26 19:39:04 -07:00
commit 58d7d91516
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -47,7 +47,7 @@ void SessionMap::register_perfcounters()
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",