From c118ca112bb870156e9c76f64b3566e1d613e038 Mon Sep 17 00:00:00 2001 From: truthbk Date: Fri, 25 Feb 2022 14:40:11 +0100 Subject: [PATCH] datadog: do not append api-key to uri Signed-off-by: truthbk --- plugins/out_datadog/datadog_conf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/out_datadog/datadog_conf.c b/plugins/out_datadog/datadog_conf.c index 6baa7059c66..def064c48c5 100644 --- a/plugins/out_datadog/datadog_conf.c +++ b/plugins/out_datadog/datadog_conf.c @@ -122,8 +122,6 @@ struct flb_out_datadog *flb_datadog_conf_create(struct flb_output_instance *ins, return NULL; } - /* Add the api_key to the URI */ - ctx->uri = flb_sds_cat(ctx->uri, ctx->api_key, flb_sds_len(ctx->api_key)); flb_plg_debug(ctx->ins, "uri: %s", ctx->uri); /* Get network configuration */