Merge branch 'main' of ssh://git.nosd.in:2222/yo/nodegopher
This commit is contained in:
commit
4daf0d4000
@ -12,16 +12,20 @@ It gets time range values from Grafana, so it can relay them to prometheus if yo
|
|||||||
see config.yaml.sample
|
see config.yaml.sample
|
||||||
|
|
||||||
## Grafana datasource
|
## 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"
|
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"
|
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,
|
Create a second infinity query named "Nodes", same config,
|
||||||
URL: "http://my-nodegopher-host:8080/graph1/nodes?from=$__from&to=$__to&interval=$__interval"
|
URL: "http://my-nodegopher-host:8080/graph1/nodes?from=$__from&to=$__to&interval=$__interval"
|
||||||
|
|
||||||
switch to visualization type "NodeGraph", and voila
|
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
|
## Instance management
|
||||||
### Reload configuration
|
### Reload configuration
|
||||||
You can reload configuration file when the API is running, with either sending a signal, or make a POST request.
|
You can reload configuration file when the API is running, with either sending a signal, or make a POST request.
|
||||||
|
Loading…
Reference in New Issue
Block a user