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"



(Required) Alert level.

Supported alert levels
Alert level BigPanda status
crit critical
warn warning
info ok
ok ok

All other alert levels return a critical BigPanda status.

Package author and maintainer

Github: @rhajek, @bonitoo-io

Was this page helpful?

Thank you for your feedback!

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.