Flux bigpanda package
The bigpanda
package is a user-contributed package
maintained by the package author
and can be updated or removed at any time.
The Flux bigpanda
package provides functions that send alerts to
BigPanda.
Import the contrib/rhajek/bigpanda
package:
import "contrib/rhajek/bigpanda"
Options
The BigPanda package provides the following options:
import "contrib/rhajek/bigpanda"
option bigpanda.defaultUrl = "https://api.bigpanda.io/data/v2/alerts"
option bigpanda.defaultTokenPrefix = "Bearer"
defaultUrl
The default BigPanda alerts API URL
for functions in the BigPanda package.
Default is https://api.bigpanda.io/data/v2/alerts
.
defaultTokenPrefix
The default HTTP authentication schema to use when authenticating with BigPanda.
Default is Bearer
.
Functions
Send alert timestamps to BigPanda
Sending alert timestamps to BigPanda is optional, but if you choose to send them, convert timestamps to epoch second timestamps:
data
|> map(fn: (r) => ({ r with secTime: int(v: r._time) / 1000000000 }))
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.