Skip to content

Commit 8c51289

Browse files
committed
feat: add doc to configure singlestat panel
1 parent da31418 commit 8c51289

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff 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

4458
Usage of Yarn is encouraged to build.

0 commit comments

Comments
 (0)