Apply alert fatigue filter on continuous failing event subsequence

Feature Suggestion

We are researching to use sensu-go observability pipeline as an alert service. So call api to only generate Failing event to inpuPreformatted textt data. There is no Passing event being input to pipeline. So we don’t know the fixed interval of check as well.
Alert fatigue strategy we need:

  • Alert when occurrences == 3
  • Avoid duplicated alert in one hour/day

Possible Implementation

I found handle_when filter maybe can implement similar function. But it seems not possible in Sensu-Go when migrate from sensu core.
Could you offer and describe some other solutions if existed.


This is my create event request body:

    "entity": {
        "entity_class": "proxy",
        "metadata": {
            "name": "{{$someHost}}",
            "namespace": "default"
    "check": {
        "issued": {{$timestamp}},
        "executed": {{$timestamp}},
        "output": "Server error",
        "state": "failing",
        "status": 2,
        "handlers": [
        "metadata": {
            "name": "urlWatch",
                "serverTypeId": "131",
                "zoneType": "URL Watch Zone"
                "fatigue_check/occurrences": "4",
                "fatigue_check/interval": "600",
                "fatigue_check/allow_resolution": "false"
    "timestamp": {{$timestamp}}

Github issue link: