To expose Jolokia metrics, metrics.conf expects a jolokia-access.xml file path, and a corresponding jolokia-access.xml file. Currently, metrics.conf has the boilerplate code commented out. This PR allows the contents of jolokia-access.xml to be passed as a parameter. If it's passed, write jolokia-access.xml in the default location and uncomment the line in metrics.conf.
To expose Jolokia metrics,
metrics.conf
expects ajolokia-access.xml
file path, and a corresponding jolokia-access.xml file. Currently, metrics.conf has the boilerplate code commented out. This PR allows the contents of jolokia-access.xml to be passed as a parameter. If it's passed, write jolokia-access.xml in the default location and uncomment the line in metrics.conf.