gatus icon indicating copy to clipboard operation
gatus copied to clipboard

JSONPath in alert.description

Open euh2 opened this issue 2 years ago • 0 comments

Describe the feature request

I would like to use the same information from condition response in the alert description. I use Gatus to poll the Ceph API for Health Status. It would be nice to see the actual status in the alert description.

Something like:

        conditions:
          - "[STATUS] == 200"
          - "[BODY].health.status == HEALTH_OK"
        alerts:
          - type: custom
            description: "Status: [BODY].health.status"

Why do you personally want this feature to be implemented?

Nice to have

How long have you been using this project?

1d

Additional information

No response

euh2 avatar Apr 30 '22 18:04 euh2