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


Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: