app/vmagent: follow-up after 4583ed23a8

This commit is contained in:
Aliaksandr Valialkin 2022-06-13 09:54:11 +03:00
parent f0cb3c4999
commit 8128c6db6b
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -464,6 +464,11 @@ func processMultitenantRequest(w http.ResponseWriter, r *http.Request, path stri
w.Header().Set("Content-Type", "application/json")
fmt.Fprintf(w, `{}`)
return true
case "datadog/api/v1/metadata":
datadogMetadataRequests.Inc()
w.Header().Set("Content-Type", "application/json")
fmt.Fprintf(w, `{}`)
return true
default:
httpserver.Errorf(w, r, "unsupported multitenant path suffix: %q", p.Suffix)
return true