From a9fb724bc661f3b91d65e1d10be7aebac5f8428a Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Wed, 17 Jul 2019 12:35:34 +0200 Subject: [PATCH] MP Metrics 2.0 no longer supports monotonic --- docs/src/main/asciidoc/metrics-guide.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/metrics-guide.adoc b/docs/src/main/asciidoc/metrics-guide.adoc index 089d49bfa6ace..5bf3a514cbfcf 100644 --- a/docs/src/main/asciidoc/metrics-guide.adoc +++ b/docs/src/main/asciidoc/metrics-guide.adoc @@ -90,7 +90,7 @@ public class PrimeNumberChecker { @GET @Path("/{number}") @Produces("text/plain") - @Counted(name = "performedChecks", monotonic = true, description = "How many primality checks have been performed.") + @Counted(name = "performedChecks", description = "How many primality checks have been performed.") @Timed(name = "checksTimer", description = "A measure of how long it takes to perform the primality test.", unit = MetricUnits.MILLISECONDS) public String checkIfPrime(@PathParam("number") long number) { if (number < 1) {