From 1041f395ccf2834d97e85f7883029384f5390c9c 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 812fc5d74..a7e242173 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