Skip to content

Commit

Permalink
Merge pull request #3254 from rsvoboda/monotonic.docs.leftover
Browse files Browse the repository at this point in the history
MP Metrics 2.0 no longer supports monotonic
  • Loading branch information
gsmet authored Jul 17, 2019
2 parents 4cde4b4 + a9fb724 commit 2d12cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/metrics-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2d12cf4

Please sign in to comment.