aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/http/BenchmarkingHeaders.java
blob: 22ca548e8b4680b85743cc6daf1c9028541b47d7 (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.container.http;

/**
 * Class containing the names of all benchmarking getHeaders in request and response
 *
 * @author Mathias Mølster Lidal
 */
public class BenchmarkingHeaders {

    public static final String REQUEST = "X-Yahoo-Vespa-Benchmarkdata";
    public static final String REQUEST_COVERAGE = "X-Yahoo-Vespa-Benchmarkdata-Coverage";

    public static final String NUM_HITS = "X-Yahoo-Vespa-NumHits";
    public static final String NUM_FASTHITS = "X-Yahoo-Vespa-NumFastHits";
    public static final String NUM_GROUPHITS = "X-Yahoo-Vespa-NumGroupHits";
    public static final String NUM_ERRORS = "X-Yahoo-Vespa-NumErrors";
    public static final String TOTAL_HIT_COUNT = "X-Yahoo-Vespa-TotalHitCount";
    public static final String NUM_DOCSUMS = "X-Yahoo-Vespa-NumDocsums";
    public static final String QUERY_HITS = "X-Yahoo-Vespa-QueryHits";
    public static final String QUERY_OFFSET = "X-Yahoo-Vespa-QueryOffset";
    public static final String SEARCH_TIME = "X-Yahoo-Vespa-SearchTime";
    public static final String ATTR_TIME = "X-Yahoo-Vespa-AttributeFetchTime";
    public static final String FILL_TIME = "X-Yahoo-Vespa-FillTime";
    public static final String DOCS_SEARCHED = "X-Yahoo-Vespa-DocsSearched";
    public static final String NODES_SEARCHED = "X-Yahoo-Vespa-NodesSearched";
    public static final String FULL_COVERAGE = "X-Yahoo-Vespa-FullCoverage";

}