Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57908

Export JMX using a proper domain

    XMLWordPrintable

Details

    • 4.0.2.5

    Description

      The current JMX export for metrics is using the default DropWizard metrics API domain (which is 'metrics').

      When connecting to a Jenkins instance using JMX, it is not obvious at all that the domain 'metrics' is in fact hosting Jenkins metrics.

      JMX best practices

      The domain part of an Object Name should start with a Java package name. This prevents collisions between MBeans coming from different subsystems. There might be additional text after the package name. Examples:

      Therefore, I propose to use io.jenkins as domain to expose metrics via JMX.

       

       

      Attachments

        Issue Links

          Activity

            vlatombe Vincent Latombe created issue -
            vlatombe Vincent Latombe made changes -
            Field Original Value New Value
            Assignee Vincent Latombe [ vlatombe ]
            vlatombe Vincent Latombe made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            vlatombe Vincent Latombe made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            vlatombe Vincent Latombe made changes -
            Remote Link This issue links to "PR #47 (Web Link)" [ 23102 ]
            alecharp Adrien Lecharpentier made changes -
            Released As 4.0.2.5
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

            People

              vlatombe Vincent Latombe
              vlatombe Vincent Latombe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: