From c1dcc7e329da8f75a2d145652fc8ae4cd0557f1f Mon Sep 17 00:00:00 2001 From: avilevy Date: Tue, 21 Nov 2023 20:17:26 +0000 Subject: [PATCH] Bug fix Signed-off-by: avilevy --- plugins/out_stackdriver/stackdriver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/out_stackdriver/stackdriver.c b/plugins/out_stackdriver/stackdriver.c index b271ce965d6..188dcf8d49c 100644 --- a/plugins/out_stackdriver/stackdriver.c +++ b/plugins/out_stackdriver/stackdriver.c @@ -2782,7 +2782,7 @@ static void cb_stackdriver_flush(struct flb_event_chunk *event_chunk, /* OLD api */ flb_metrics_sum(FLB_STACKDRIVER_FAILED_REQUESTS, 1, ctx->ins->metrics); - update_http_metrics(ctx, event_chunk, ts, STACKDRIVER_NET_ERROR); + update_retry_metric(ctx, event_chunk, ts, STACKDRIVER_NET_ERROR); #endif flb_upstream_conn_release(u_conn); FLB_OUTPUT_RETURN(FLB_RETRY);