From 96c75b4f5b9732d2ffd3f14f0ee7320f20d34e03 Mon Sep 17 00:00:00 2001 From: Nicolas Grunwald Date: Fri, 8 Dec 2023 12:28:04 +0100 Subject: [PATCH] Updated Readme --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 183a538..ecae9f7 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,14 @@ This small application works great in tandem with the Prometheus [node-exporter](https://github.com/prometheus/node_exporter). If you place the converted JSON -> prom data in the /var/lib/prometheus/node-exporter/ directory, the metrics will be added to the node-exporter output. -Build the project using Cargo. +Build the project using Cargo: -Run the binary as +``` +cargo build --release +``` +The binary can then be found under target/release/rusty-json-prom-exporter +Run the binary as: ``` ./rusty-json-prom-exporter [url] [filename] ```