I have a custom service and I want to enable ambari metrics for this. I was testing it using a simple property. But in the ambari-server log I see error
" Unable to get JMX metrics. No port value for Component-name. "
How can I specify the port on which my service is running JMX?
I checked the code of ambari but not able to figure out how it is loading the port numbers. There are some default ports for some services hardcoded but still cannot figure out how to do for my custom service.