|
|
|
@ -14,6 +14,35 @@
|
|
|
|
|
- Bar Chart (coming soon) |
|
|
|
|
- Gauge: dynamic thresholds and min / max |
|
|
|
|
- Gauge: conditional icons displaying |
|
|
|
|
- Gauge: reversed direction |
|
|
|
|
|
|
|
|
|
## How to use |
|
|
|
|
|
|
|
|
|
1. Create a new panel and select Chartwerk as the visualization |
|
|
|
|
2. Add queries with unique aliases |
|
|
|
|
3. Go to the Options Tab and setup panel: |
|
|
|
|
- Choose visualization type |
|
|
|
|
- Select metric in the Value -> Metric dropdown (by default, the first metric is used) |
|
|
|
|
|
|
|
|
|
## Demo |
|
|
|
|
|
|
|
|
|
see [demo](https://grafana.corpglory.com/d/8vGyMypGz/demo-home?orgId=4) |
|
|
|
|
|
|
|
|
|
## Options [Gauge] |
|
|
|
|
|
|
|
|
|
- Visualization: |
|
|
|
|
- Pod: option to select chart type |
|
|
|
|
- Value: |
|
|
|
|
- Metric: select metric query from dropdown |
|
|
|
|
- Extemum: |
|
|
|
|
- Min: |
|
|
|
|
- type number for static minimum value OR |
|
|
|
|
- enable "Use metric" toggle switch to select metric as minimun |
|
|
|
|
- default value: 0 |
|
|
|
|
- Max: |
|
|
|
|
- type number for static maximum OR |
|
|
|
|
- enable "Use metric" toggle switch to select metric as maximum |
|
|
|
|
- default value: maximum of metric query |
|
|
|
|
|
|
|
|
|
## Installation |
|
|
|
|
|
|
|
|
@ -27,13 +56,13 @@
|
|
|
|
|
- Download Chartwerk panel |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
wget https://gitlab.com/chartwerk/grafana-chartwerk-panel/uploads/117d957cd20276826cd092becb62dd30/corpglory-chartwerk-panel-0.4.0.zip |
|
|
|
|
wget https://gitlab.com/chartwerk/grafana-chartwerk-panel/uploads/2284215a4dc8fb3bde1fd3b51bd99d3e/corpglory-chartwerk-panel-0.5.0.zip |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
- Unpack downloaded files |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
unzip -u corpglory-chartwerk-panel-0.4.0.zip -d corpglory-chartwerk-panel |
|
|
|
|
unzip -u corpglory-chartwerk-panel-0.4.1.zip -d corpglory-chartwerk-panel |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
- Restart grafana-server |
|
|
|
@ -51,6 +80,6 @@ You can install Chartwerk panel to Grafana in Docker passing it as environment v
|
|
|
|
|
```bash |
|
|
|
|
docker run \ |
|
|
|
|
-p 3000:3000 \ |
|
|
|
|
-e "GF_INSTALL_PLUGINS=https://gitlab.com/chartwerk/grafana-chartwerk-panel/uploads/117d957cd20276826cd092becb62dd30/corpglory-chartwerk-panel-0.4.0.zip;corpglory-chartwerk-panel" \ |
|
|
|
|
-e "GF_INSTALL_PLUGINS=https://gitlab.com/chartwerk/grafana-chartwerk-panel/uploads/2284215a4dc8fb3bde1fd3b51bd99d3e/corpglory-chartwerk-panel-0.5.0.zip;corpglory-chartwerk-panel" \ |
|
|
|
|
grafana/grafana |
|
|
|
|
``` |
|
|
|
|