Documentation

bigpanda.statusFromLevel() function

Flux 0.108.0+

The bigpanda.statusFromLevel() function is a user-contributed function maintained by the package author and can be updated or removed at any time.

The bigpanda.statusFromLevel() function converts an alert level into a BigPanda status.

import "contrib/rhajek/bigpanda"

bigpanda.statusFromLevel(level: "crit")

// Returns "critical"

Parameters

level

(Required) Alert level.

Supported alert levels
Alert levelBigPanda status
critcritical
warnwarning
infook
okok

All other alert levels return a critical BigPanda status.

Package author and maintainer

Github: @rhajek, @bonitoo-io


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.