<dependency>
<groupId>org.appmon4j</groupId>
<artifactId>appmon4j-core</artifactId>
<version>1.0.0</version>
</dependency>
classes=com.example.MyClass
methods=myMethod1,myMethod2
package com.example;
import org.appmon4j.core.annotations.EndMethod;
import org.appmon4j.core.annotations.StartMethod;
public class MyClass {
@StartMethod
@EndMethod
public void myMethod1() {
}
@StartMethod
@EndMethod
public void myMethod2() {
}
}
[INFO] Appmon4j: com.example.MyClass.myMethod1() took 153 milliseconds
[INFO] Appmon4j: com.example.MyClass.myMethod2() took 102 milliseconds