Grafana Polystat Panel
A hexagon is create for each metric received, with the ability to group metrics into a composite metric, and display the triggered state of the composite.
This plugin supports autoscaling for best-fit sizing of each polygon to the panel size. When the complete text cannot be displayed, only tooltips are active.
Scaled down with tooltip
Specify the desired number of columns and rows, or select Autosize to allow the plugin to calculate a "best fit" for the size of the panel.
Max # of columns to create
Max # rows to create NOTE: if both columns and rows are set, only rows*columns will be displayed, generally one or none should be set.
Set a limit on number of hexagons to be displayed, set to 0 for no limit.
Set the size of the polygon to a fixed size, or select auto-size for "best fit".
Set the font to be used for Tooltips
Show all Show triggered
Click through to use when none are defined for a hexagon.
Show Metric Name
Display the metric in the hexagon
Show Metric Value
Display the metric value
Animate hexagon to display metrics if there are composites
Speed of animation in milliseconds
Hovering over a hexagon shows the metrics that comprise the displayed state. For composites this will expand members of the composite.
State with composites
This shows creation of composites, where you select which metrics comprise the composite.
This shows composites configured for GPU 0,1,2,3, and non-grouped metrics from GPU4-7.
This plugin relies on Grunt/NPM/Bower, typical build sequence:
npm install bower install grunt
For development, you can run:
The code will be parsed then copied into "dist" if "jslint" passes without errors.
A docker-compose.yml file is include for easy development and testing, just run
Then browse to http://localhost:3000
- Grafana 3.x/4.x/5.x
Enable Grafana TestData
Grafana TestData is not enabled by default. To enable it, first navigate to the Plugins section, found in your Grafana main menu. Click the Apps tabs in the Plugins section and select the Grafana TestData App. (Or navigate to http://your_grafana_instance/plugins/testdata/edit to go directly there). Finally click the enable button to enable.
This panel is based on this D3 example: