Skip to content

Commit

Permalink
feat: add doc to configure singlestat panel
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptobioz committed Jul 8, 2021
1 parent da31418 commit 8c51289
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,20 @@ Whether the alerts gathered should be inhibited.

![Parameters](https://raw.githubusercontent.com/camptocamp/grafana-prometheus-alertmanager-datasource/master/img/table.png)

# Panels

## Singlestat

To use singlestat panels, you must apply a transformation to your metrics:

1. Edit your panel and open the "Transform" tab.

![Transform tab](https://raw.githubusercontent.com/camptocamp/grafana-prometheus-alertmanager-datasource/master/img/singlestat-transform.png)

2. Select "Reduce" and change the "Calculations" to "Count"

![Reduce transformation](https://raw.githubusercontent.com/camptocamp/grafana-prometheus-alertmanager-datasource/master/img/singlestat-reduce.png)

# Development Setup

Usage of Yarn is encouraged to build.
Expand Down

0 comments on commit 8c51289

Please sign in to comment.