blob: cf35cdae90e248de8fe34e3d16211260324026ab (
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
34
|
package ai.vespa.metrics;
/**
* @author yngveaasheim
*/
// Internal hosted Vespa only TODO: Move to a better place
public enum RoutingLayerMetrics implements VespaMetrics {
WORKER_CONNECTIONS("worker.connections", Unit.CONNECTION, "Yahoo! Internal: Number of connections for the routing worker having most connections per node");
private final String name;
private final Unit unit;
private final String description;
RoutingLayerMetrics(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;
}
}
|