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.