Update README
This commit is contained in:
parent
c64327ad0b
commit
a32ae649f7
@ -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"
|
||||
|
||||

|
||||
|
||||
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
|
||||
|
||||

|
||||
|
||||
## Instance management
|
||||
### Reload configuration
|
||||
You can reload configuration file when the API is running, with either sending a signal, or make a POST request.
|
||||
|
Loading…
x
Reference in New Issue
Block a user