How to capture custom metrics without app code changes using the Java Agent Plugin