Singlestat Panel

The Singlestat Panel reduces a data series into a single number and displays it with spark lines, as a gauge, or as a simple number. You can configure a singlestat panel to dynamically change its color based on the value of the number, and also define value-to-text mappings so that a custom label is displayed if the number reaches a specific value or range.


Creating a Singlestat Panel

  1. Click the Add panel button at the top of the dashboard.

  2. From the list of available panels, select Singlestat.

    The singlestat panel will be added to your dashboard.

    https://g.lagoon.soracom.io

    Singlestat panel


Editing Panel Settings

To edit the singlestat panel settings, click the Panel Title, then select Edit.

General

The General tab lets you configure basic panel settings. Refer to the Lagoon Panels: General documentation for more information.

Metrics

The Metrics tab lets you configure the data series source. Refer to the Lagoon Panels: Metrics documentation for more information.

Options

The Options tab lets you configure the value and display formatting of the singlestat.

https://g.lagoon.soracom.io

Singlestat panel options

Value

Coloring

Spark lines

Gauge

Value Mappings

The Value Mappings tab lets you create custom text labels that correspond to specific values or value ranges. When using value mappings, the stat number will be replaced with specified text label.

https://g.lagoon.soracom.io

Singlestat panel value mappings

Type - The value mapping mode.

Set value mappings - The values or ranges and their corresponding text label.

Time Range

The Time Range tab lets you adjust the range of data to use. Refer to the Lagoon Panels: Time Range documentation for more information.


Additional Resources

More information about the singlestat panel can be found in the Grafana: Singlestat Panel documentation.