pkuwm opened a new issue #1356:
URL: https://github.com/apache/helix/issues/1356


   ### Is your feature request related to a problem? Please describe.
   We need helix rest service metrics for each namespace. To achieve this, the 
namespace info needs to be contained in the MBean's object name, eg: 
`domain:name=getClusters,namespace=myNamespace,type=counters`. But DropWizard's 
interface `ObjectNameFactory` doesn't have the namespace parameter.
   
   **Describe the solution you'd like**
   Append the namespace to the domain: `domain:namespace`. And create a custom 
ObjectNameFactory to split the domain string to get namespace. Then put the 
namespace property into the object name.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to