mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmagent: follow-up after 4583ed23a8
This commit is contained in:
parent
4583ed23a8
commit
1041f395cc
1 changed files with 5 additions and 0 deletions
|
@ -464,6 +464,11 @@ func processMultitenantRequest(w http.ResponseWriter, r *http.Request, path stri
|
||||||
w.Header().Set("Content-Type", "application/json")
|
w.Header().Set("Content-Type", "application/json")
|
||||||
fmt.Fprintf(w, `{}`)
|
fmt.Fprintf(w, `{}`)
|
||||||
return true
|
return true
|
||||||
|
case "datadog/api/v1/metadata":
|
||||||
|
datadogMetadataRequests.Inc()
|
||||||
|
w.Header().Set("Content-Type", "application/json")
|
||||||
|
fmt.Fprintf(w, `{}`)
|
||||||
|
return true
|
||||||
default:
|
default:
|
||||||
httpserver.Errorf(w, r, "unsupported multitenant path suffix: %q", p.Suffix)
|
httpserver.Errorf(w, r, "unsupported multitenant path suffix: %q", p.Suffix)
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in a new issue