@Override
    public boolean isSampled(Object ignored) {
        return sampleDecisions.get(mod(counter.getAndIncrement(), 100));
    }
loops over the pre-canned decisions, resetting to zero when it gets to the end.
core/src/main/java/com/linecorp/armeria/common/util/CountingSampler.java