
To instrument an application to provide monitoring data, the application provider has to:
To create the monitor-configuration.xml, see the monitor-configuration.xml section. The details about the XML syntax can also be found in the document presenting the elements of the monitor-configuration.dtd. The XML file must always be named monitor-configuration.xml as this is how the monitoring framework recognizes it.
It is very important where this xml file will be placed inside the distribution archive of the resource. For applications, the xml file has to be put in the /META-INF sub-folder inside the EAR.
See also:
Application Instrumented with Monitoring