From 17f0a5306861e3bf852325ce0edfdc26b72b7dd0 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 3 Jun 2019 18:37:59 +0300 Subject: [PATCH] app/vminsert: explain that /query request emulation is required for TSBS benchmark --- app/vminsert/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/vminsert/main.go b/app/vminsert/main.go index 24863ff44..263fb080e 100644 --- a/app/vminsert/main.go +++ b/app/vminsert/main.go @@ -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