Documentation

bigpanda.statusFromLevel() function

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.

Data type: String

Supported alert levels
Alert levelBigPanda status
critcritical
warnwarning
infook
okok

Default BigPanda status is critical.

Package author and maintainer

Github: @alespour, @bonitoo-io
InfluxDB Slack: @Ales Pour


Set your InfluxDB URL

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.