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.
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
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, the following resources are available:
InfluxDB Cloud customers can contact InfluxData Support.