Currently, when I create a JMX Metric and I register it, the metric's namespace seems to be generated as:
TYPE.METRIC-NAME.CLASS-NAME.ID
So, a counter metric called "numberOfVisitors" in the class VisitorMetric, registered as VistitorServlet looks like:
COUNTER.numberOfVisitors.VisitorMetrics.VistitorServlet
Ideally, I want it named like:
ID.METRIC-NAME
VistitorServlet.numberOfVisitors
Even if I could reverse it would be better.