diff --git a/plugins/in_opentelemetry/opentelemetry_prot.c b/plugins/in_opentelemetry/opentelemetry_prot.c index 07417cd1791..7ea12d939af 100644 --- a/plugins/in_opentelemetry/opentelemetry_prot.c +++ b/plugins/in_opentelemetry/opentelemetry_prot.c @@ -2207,6 +2207,7 @@ static int process_payload_metrics_ng(struct flb_opentelemetry *ctx, } else { flb_plg_warn(ctx->ins, "non-success cmetrics opentelemetry decode result %d", result); + return -1; } return 0;