diff --git a/app/vmselect/main.go b/app/vmselect/main.go index 7ced1af79..4a516a65c 100644 --- a/app/vmselect/main.go +++ b/app/vmselect/main.go @@ -387,8 +387,8 @@ func RequestHandler(w http.ResponseWriter, r *http.Request) bool { w.Header().Set("Content-Type", "application/json; charset=utf-8") fmt.Fprintf(w, "%s", `{"status":"success","data":{"groups":[]}}`) return true - case "/api/v1/alerts": - // Return dumb placehloder for https://prometheus.io/docs/prometheus/latest/querying/api/#alerts + case "/api/v1/alerts", "/alerts": + // Return dumb placeholder for https://prometheus.io/docs/prometheus/latest/querying/api/#alerts alertsRequests.Inc() w.Header().Set("Content-Type", "application/json; charset=utf-8") fmt.Fprintf(w, "%s", `{"status":"success","data":{"alerts":[]}}`)