pagerduty.actionFromSeverity() converts a severity to a PagerDuty action.
- All other severities convert to
Function type signature
(severity: string) => string
(Required) Severity to convert to a PagerDuty action.
Convert a severity to a PagerDuty action
import "pagerduty" pagerduty.actionFromSeverity(severity: "crit")// Returns trigger
Was this page helpful?
Thank you for your feedback!
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, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.