File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,20 @@ Whether the alerts gathered should be inhibited.
3939
4040![ Parameters] ( https://raw.githubusercontent.com/camptocamp/grafana-prometheus-alertmanager-datasource/master/img/table.png )
4141
42+ # Panels
43+
44+ ## Singlestat
45+
46+ To use singlestat panels, you must apply a transformation to your metrics:
47+
48+ 1 . Edit your panel and open the "Transform" tab.
49+
50+ ![ Transform tab] ( https://raw.githubusercontent.com/camptocamp/grafana-prometheus-alertmanager-datasource/master/img/singlestat-transform.png )
51+
52+ 2 . Select "Reduce" and change the "Calculations" to "Count"
53+
54+ ![ Reduce transformation] ( https://raw.githubusercontent.com/camptocamp/grafana-prometheus-alertmanager-datasource/master/img/singlestat-reduce.png )
55+
4256# Development Setup
4357
4458Usage of Yarn is encouraged to build.
You can’t perform that action at this time.
0 commit comments