aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/http/BenchmarkingHeaders.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-core/src/main/java/com/yahoo/container/http/BenchmarkingHeaders.java')
-rw-r--r--container-core/src/main/java/com/yahoo/container/http/BenchmarkingHeaders.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/http/BenchmarkingHeaders.java b/container-core/src/main/java/com/yahoo/container/http/BenchmarkingHeaders.java
new file mode 100644
index 00000000000..bb3afc001ec
--- /dev/null
+++ b/container-core/src/main/java/com/yahoo/container/http/BenchmarkingHeaders.java
@@ -0,0 +1,29 @@
+// Copyright 2016 Yahoo Inc. 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 <a href="mailto:mathiasm@yahoo-inc.com">Mathias Mølster Lidal</a>
+ */
+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";
+
+}