/singlestat-math

Panel based on the default single stat panel with added feature to do math across metrics from multiple queries.

Primary LanguageJavaScriptMIT LicenseMIT

Single Stat Math Panel

This panel is a modification of the native single stat panel to support math functions across series.

Usage

InfluxDB

To use the math feature, give the series an alias by name and use that name inside the math field as variables.

Image of using InfluxDB metric

In the math field you can use the alias names to perform math across series.

Image of using math field

Changelog

1.1.7

  • Merged PR to add new threshold model and new tooltip

1.1.6

  • Merged PR to fix gauge color

1.1.5

  • Merged PR to autoupdate panels with previous threshold format.

1.1.4

  • Merged PR to add granular threshold options.

1.1.3

  • Merged PR to add circle shape as background option.

1.1.2

  • Merged PR to remove importing own flot plugins.

1.1.1

  • Changed function evaluation error handling to set results to zero

1.1.0

  • Fixed missing flot library crashing graph panel.
  • Updated dependencies.

1.0.0

  • Added math options if multiple queries are used.
  • Math field will use series alias name to evaluate function.