blob: 4b49e3594f8639b5c22b608edd12d388dddd0a05 (
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
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.http.server;
/**
* Place to store the metric names so where the metrics are logged can be found
* more easily in an IDE.
*
* @author steinar
*/
public final class MetricNames {
private static final String PREFIX = "httpapi_";
public static final String NUM_OPERATIONS = PREFIX + "num_operations";
public static final String NUM_PUTS = PREFIX + "num_puts";
public static final String NUM_REMOVES = PREFIX + "num_removes";
public static final String NUM_UPDATES = PREFIX + "num_updates";
public static final String OPERATIONS_PER_SEC = PREFIX + "ops_per_sec";
public static final String LATENCY = PREFIX + "latency";
public static final String FAILED = PREFIX + "failed";
public static final String TEST_AND_SET_CONDITION_NOT_MET = PREFIX + "test_and_set_condition_not_met";
public static final String PARSE_ERROR = PREFIX + "parse_error";
public static final String SUCCEEDED = PREFIX + "succeeded";
public static final String PENDING = PREFIX + "pending";
private MetricNames() {
}
}
|