This is a New Relic PMI extension that can deployed as an extension under the extensions folder. Once the extension - PMI Jar file has been added to the extensions directory, simply follow the steps prescribed in the documents and then modify the newrelic.yml file accordingly.
Note: This solution only works for Websphere Java container.