Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5443

Review the naming conventions used by JMXReporter to register the Metric MBeans

    XMLWordPrintableJSON

    Details

      Description

      With current setup the JMXReporter would register all metrics under org.apache.sling domain. Marc Pfaff suggested that this can cause confusion as metrics registered by non Sling bundle would also show up in Sling JMX domain.

      We should customize the JMX ObjectName logic to account for bundle which has registered the metrics. One approach that can be used is

      1. Expose the MetricService as a ServiceFactory
      2. Use some custom Bundle header else fallback to Bundle Symbolic name

      Discussion thread on mailing list http://markmail.org/thread/sj6yvmyhgze6jn22

        Attachments

          Activity

            People

            • Assignee:
              chetanm Chetan Mehrotra
              Reporter:
              chetanm Chetan Mehrotra
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: