From: Michael Tremer Date: Thu, 2 Oct 2025 10:51:06 +0000 (+0000) Subject: graph: Write the graph to the output stream X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad688349f61fded7e83163d7e275dc39da931857;p=telemetry.git graph: Write the graph to the output stream Signed-off-by: Michael Tremer --- diff --git a/src/daemon/graph.c b/src/daemon/graph.c index e7b494d..698a0b1 100644 --- a/src/daemon/graph.c +++ b/src/daemon/graph.c @@ -203,6 +203,11 @@ int collecty_graph_render(collecty_graph* self, if (r < 0) goto ERROR; + // Write the graph to the output stream + r = collecty_args_push(args, "-"); + if (r < 0) + goto ERROR; + // Call the implementation to add some arguments r = self->impl->render(self->ctx, self, args, object); if (r < 0)