From 8128c6db6ba7d9285accc3f2b2e50c77d8cee515 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 13 Jun 2022 09:54:11 +0300 Subject: [PATCH] app/vmagent: follow-up after 4583ed23a89bce9daede3016780f65adc1031693 --- app/vmagent/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/vmagent/main.go b/app/vmagent/main.go index 812fc5d74b..a7e2421730 100644 --- a/app/vmagent/main.go +++ b/app/vmagent/main.go @@ -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