We're receiving alerts from GCP through the standard webhook integration.
The payload looks like this:
{
"incident": {
...
"metric": {
"labels": {
"metric_label": "value"
}
}
"policy_user_labels": {
"policy_label": "value"
}
}
}
I want to automatically turn these labels (at least the policy ones) into alert tags. Is there a way to do so?
The "{{_payload.customField}}" syntax for alert properties doesn't seem to support nested fields.