ZendutyAlert
ZendutyAlert
yaml
type: "io.kestra.plugin.zenduty.ZendutyAlert"Examples
yaml
id: unreliable_flow
namespace: company.team
tasks:
- id: fail
type: io.kestra.plugin.scripts.shell.Commands
commands:
- exit 1
errors:
- id: alert_on_failure
type: io.kestra.plugin.zenduty.ZendutyAlert
url: "https://www.zenduty.com/api/events/{{ secret('ZENDUTY_INTEGRATION_KEY') }}/"
payload: |
{
"alert_type": "info",
"message": "This is info alert",
"summary": "This is the incident summary",
"suppressed": false,
"entity_id": 12345,
"payload": {
"status": "ACME Payments are failing",
"severity": "1",
"project": "kubeprod"
},
"urls": [
{
"link_url": "https://www.example.com/alerts/12345/",
"link_text": "Alert URL"
}
]
}
Properties
url *Requiredstring
Min length
1options
Definitions
io.kestra.plugin.zenduty.AbstractZendutyConnection-RequestOptions
connectTimeoutstring
connectionPoolIdleTimeoutstring
Default
PT0SdefaultCharsetstring
Default
UTF-8java.nio.charset.Charset
headersobject
SubTypestring
maxContentLengthintegerstring
Default
10485760readIdleTimeoutstring
Default
PT5MreadTimeoutstring
Default
PT10S