From a32ae649f7c8370510157ce3fa8b1b60ac536235 Mon Sep 17 00:00:00 2001 From: yo Date: Sun, 12 Jan 2025 15:15:22 +0100 Subject: [PATCH] Update README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 403b107..fed9076 100644 --- a/README.md +++ b/README.md @@ -12,16 +12,20 @@ It gets time range values from Grafana, so it can relay them to prometheus if yo see config.yaml.sample ## Grafana datasource -Successfully tested with yesoreyeram-infinity-datasource datasource +Successfully tested with [yesoreyeram-infinity-datasource](https://github.com/grafana/grafana-infinity-datasource) datasource Create an infinity query, name it "Edges". Type "JSON", Parser "Backend", Source "URL", Format "Table", Method "GET" URL: "http://my-nodegopher-host:8080/graph1/edges?from=$__from&to=$__to&interval=$__interval" +![Edges configuration](https://git.nosd.in/yo/nodegopher/raw/branch/main/docs/nodegopher_grafana_edges.png "Edges configuration") + Create a second infinity query named "Nodes", same config, URL: "http://my-nodegopher-host:8080/graph1/nodes?from=$__from&to=$__to&interval=$__interval" switch to visualization type "NodeGraph", and voila +![NodeGraph sample](https://git.nosd.in/yo/nodegopher/raw/branch/main/docs/nodegopher_sample.png "NodeGraph sample") + ## Instance management ### Reload configuration You can reload configuration file when the API is running, with either sending a signal, or make a POST request.