aboutsummaryrefslogtreecommitdiffstats
path: root/metrics/src/main/java/ai/vespa/metrics/Suffix.java
blob: 9e2ea6af56c6f9a273fa0eaae73fa8922d66a3ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.metrics;

public enum Suffix {
    ninety_five_percentile("95percentile"),
    ninety_nine_percentile("99percentile"),
    average("average"),
    count("count"),
    last("last"),
    max("max"),
    min("min"),
    rate("rate"),
    sum("sum");

    private final String suffix;

    Suffix(String suffix) {
        this.suffix = suffix;
    }

    public String suffix() {
        return suffix;
    }

}