app/vmselect: add missing graphite prefix to /tags/autoComplete/{tags,values}

This commit is contained in:
Aliaksandr Valialkin 2020-11-16 17:56:19 +02:00
parent f7f866d83b
commit 911c6d3bcd

View file

@ -362,7 +362,7 @@ func selectHandler(startTime time.Time, w http.ResponseWriter, r *http.Request,
return true
}
return true
case "/tags/autoComplete/tags":
case "graphite/tags/autoComplete/tags":
graphiteTagsAutoCompleteTagsRequests.Inc()
httpserver.EnableCORS(w, r)
if err := graphite.TagsAutoCompleteTagsHandler(startTime, at, w, r); err != nil {
@ -371,7 +371,7 @@ func selectHandler(startTime time.Time, w http.ResponseWriter, r *http.Request,
return true
}
return true
case "/tags/autoComplete/values":
case "graphite/tags/autoComplete/values":
graphiteTagsAutoCompleteValuesRequests.Inc()
httpserver.EnableCORS(w, r)
if err := graphite.TagsAutoCompleteValuesHandler(startTime, at, w, r); err != nil {