[JIRA] (JENKINS-57908) Export JMX using a proper domain

9 views
Skip to first unread message

vincent@latombe.net (JIRA)

unread,
Jun 7, 2019, 5:39:02 AM6/7/19
to jenkinsc...@googlegroups.com
Vincent Latombe created an issue
 
Jenkins / Improvement JENKINS-57908
Export JMX using a proper domain
Issue Type: Improvement Improvement
Assignee: Unassigned
Attachments: mbeans.png
Components: metrics-plugin
Created: 2019-06-07 09:38
Priority: Minor Minor
Reporter: Vincent Latombe

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.

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

vincent@latombe.net (JIRA)

unread,
Jun 14, 2019, 10:10:19 AM6/14/19
to jenkinsc...@googlegroups.com
Vincent Latombe assigned an issue to Vincent Latombe
Change By: Vincent Latombe
Assignee: Vincent Latombe

vincent@latombe.net (JIRA)

unread,
Jun 14, 2019, 10:10:19 AM6/14/19
to jenkinsc...@googlegroups.com
Vincent Latombe started work on Improvement JENKINS-57908
 
Change By: Vincent Latombe
Status: Open In Progress

vincent@latombe.net (JIRA)

unread,
Jun 14, 2019, 10:10:20 AM6/14/19
to jenkinsc...@googlegroups.com

adrien.lecharpentier@gmail.com (JIRA)

unread,
Jul 3, 2019, 5:23:04 AM7/3/19
to jenkinsc...@googlegroups.com
Adrien Lecharpentier updated Improvement JENKINS-57908
 

Thanks you Vincent Latombe for your contribution!

Change By: Adrien Lecharpentier
Status: In Review Resolved
Resolution: Fixed
Released As: 4.0.2.5
Reply all
Reply to author
Forward
0 new messages