Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
Signed-off-by: avilevy <[email protected]>
  • Loading branch information
avilevy18 committed Nov 21, 2023
1 parent 71912c6 commit c1dcc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_stackdriver/stackdriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c1dcc7e

Please sign in to comment.