summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/resources/configdefinitions/search.statistics.measure-qps.def
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/resources/configdefinitions/search.statistics.measure-qps.def')
-rw-r--r--container-search/src/main/resources/configdefinitions/search.statistics.measure-qps.def16
1 files changed, 16 insertions, 0 deletions
diff --git a/container-search/src/main/resources/configdefinitions/search.statistics.measure-qps.def b/container-search/src/main/resources/configdefinitions/search.statistics.measure-qps.def
new file mode 100644
index 00000000000..c8b38b9db6e
--- /dev/null
+++ b/container-search/src/main/resources/configdefinitions/search.statistics.measure-qps.def
@@ -0,0 +1,16 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+namespace=search.statistics
+
+## Configure measurements of peak QPS rates.
+
+## Control whether com.yahoo.search.statistics.PeakQpsSearcher
+## should emit data through statistics framework or as a meta hit.
+outputmethod enum { STATISTICS, METAHIT } default=STATISTICS
+
+## If using meta hits, which query property should trigger sampling
+queryproperty string default="fetchpeakqps"
+
+## The base name for the statistics event. Default is the component name
+## of the searcher, as defined in vespa-services, with dots replaced by
+## underscore.
+eventname string default=""