metrics: exporter: use new function name to push pipeline metrics
@@ -168,7 +168,7 @@ static int collect_metrics(struct flb_me *me)
#ifdef FLB_HAVE_HTTP_SERVER
if (ctx->http_server == FLB_TRUE) {
- flb_hs_push_metrics(ctx->http_ctx, mp_sbuf.data, mp_sbuf.size);
+ flb_hs_push_pipeline_metrics(ctx->http_ctx, mp_sbuf.data, mp_sbuf.size);
}
#endif
msgpack_sbuffer_destroy(&mp_sbuf);
