blob: 79122e3b922d9218e5af1a6fa5ca7aa2f241d25d (
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
26
27
28
29
30
31
32
33
|
package ai.vespa.metrics;
/**
* @author yngveaasheim
*/
public enum LogdMetrics implements VespaMetrics {
LOGD_PROCESSED_LINES("logd.processed.lines", Unit.ITEM, "Number of log lines processed");
private final String name;
private final Unit unit;
private final String description;
LogdMetrics(String name, Unit unit, String description) {
this.name = name;
this.unit = unit;
this.description = description;
}
public String baseName() {
return name;
}
public Unit unit() {
return unit;
}
public String description() {
return description;
}
}
|