Last active
January 24, 2017 22:48
-
-
Save autoletics/7f0c5fa2649e25832695ba3c5a54fe26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.jinspired.probes.*; | |
public final class Counting { | |
private static final Probes.Name FN_COUNT = Probes.name("fn").name("count"); | |
public Object fn() { | |
//... | |
if(/*...*/) { Probes.context().counter(FN_COUNT).inc(); } | |
//... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment