app/vminsert: explain that /query request emulation is required for TSBS benchmark

This commit is contained in:
Aliaksandr Valialkin 2019-06-03 18:37:59 +03:00
parent b03bdb32ff
commit 17f0a53068

View file

@ -65,7 +65,8 @@ func RequestHandler(w http.ResponseWriter, r *http.Request) bool {
w.WriteHeader(http.StatusNoContent)
return true
case "/query":
// Emulate fake response for influx query
// Emulate fake response for influx query.
// This is required for TSBS benchmark.
influxQueryRequests.Inc()
fmt.Fprintf(w, `{"results":[{"series":[{"values":[]}]}]}`)
return true