Skip to content

karmagood/grafana-directed-replication-graph-panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grafana directed graph panel

grafana-directed-replication-graph-panel

alt text

Grafana panel plugin to create directed graph based on queries data. Based on:

Quick guide

Installation

Clone plugin into grafana plugins folder and restart grafana server

git clone https://github.com/grafana/piechart-panel.git sudo service grafana-server restart

If the plugin is cloned to a directory that is not the default plugins directory then you need to edit your grafana.ini config file (Default location is at /etc/grafana/grafana.ini) and add this:

[plugin.piechart] path = /home/your/clone/dir/piechart-panel

Configuration

  • To create a node you just need to add # with node-id into your queries alias. Now you have the node with id which you typed after # in alias field. Node size and label depends on data returned by the query you've added the alias to.

alt text

  • To create an edge you add to alias node id without #=node id without #. So if you want to connect node #a and node #b you add this alias to the query a=b and now there is an edge with id a=b. Based on the value returned by the query edge will change its opacity.

alt text

  • To add a title to the edge you can use * just add to the alias *your-edge-id and data from the query will appear as a label of this edge.

alt text

  • To append something to existing edge's label you should add + after * and your query's value will be shown after old label and / sign

alt text

  • To subtract some query's value from edge's label value you can use minus -. After your edge's label alias add -nuber_of_query ( the number starting from 0) and it will subtract this value and show the new label. You can subtract from both new and appended labels.

alt text alt text

About

Grafana directed graph panel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published