Constantino Schillebeeckx
04/17/2024, 4:16 PMConstantino Schillebeeckx
04/17/2024, 4:17 PM{
"type": "event",
"match": {
"prefect.resource.id": "prefect.flow-run.*"
},
"match_related": {
"prefect.resource.id": [
"prefect.tag.tag1",
"prefect.tag.tag2"
],
"prefect.resource.role": "tag"
},
"after": [],
"expect": [
"prefect.flow-run.TimedOut",
"prefect.flow-run.Crashed",
"prefect.flow-run.Failed"
],
"for_each": [
"prefect.resource.id"
],
"posture": "Reactive",
"threshold": 1,
"within": 0
}
With an action that looks like what's shown in the screenshot; previously, the PD incidents it created had a title like shown in the screenshot.Constantino Schillebeeckx
04/17/2024, 4:19 PM{
"type": "compound",
"triggers": [
{
"type": "event",
"match": {
"prefect.resource.id": "prefect.flow-run.*"
},
"match_related": {
"prefect.resource.id": [
"prefect.tag.tag1"
],
"prefect.resource.role": "tag"
},
"after": [],
"expect": [
"prefect.flow-run.TimedOut",
"prefect.flow-run.Failed",
"prefect.flow-run.Crashed"
],
"for_each": [
"prefect.resource.id"
],
"posture": "Reactive",
"threshold": 1,
"within": 0
},
{
"type": "event",
"match": {
"prefect.resource.id": "prefect.flow-run.*"
},
"match_related": {
"prefect.resource.id": [
"prefect.tag.tag2"
],
"prefect.resource.role": "tag"
},
"after": [],
"expect": [
"prefect.flow-run.TimedOut",
"prefect.flow-run.Failed",
"prefect.flow-run.Crashed"
],
"for_each": [
"prefect.resource.id"
],
"posture": "Reactive",
"threshold": 1,
"within": 0
}
],
"require": "all",
"within": 0
}
same action, same notification block, however the PD incident now look like what's shown in the screenshot. That is, it doesn't look like the body of the Action is getting the jinja vars materialized?Will Raphaelson
04/17/2024, 4:21 PMConstantino Schillebeeckx
04/17/2024, 4:21 PMWill Raphaelson
04/17/2024, 4:25 PMConstantino Schillebeeckx
04/17/2024, 4:26 PMWill Raphaelson
04/17/2024, 5:16 PM