-
-
Notifications
You must be signed in to change notification settings - Fork 592
Open
Labels
area/alertingRelated to alertingRelated to alerting
Description
Describe the feature request
Hi Gatus Team,
I'd like to request a feature enhancement for Gatus alerts.
Currently, custom alerts allow for flexible configuration, but it would be extremely useful to support a [custom_parameter] field that can be passed into the alert definition. This would enable users to inject dynamic or contextual data into alerts, such as environment tags, service metadata, or custom routing keys.
Proposed Use Case:
`
alerting:
custom:
url: "https://test.com/services/health"
method: "POST"
body: |
{
"text": "[CUSTOM_PARAMETER]"
}
endpoints:
- name: website
url: "https://twin.sh/health"
conditions:- "[STATUS] == 200"
alerts: - type: custom
custom_parameter: "production"
`
Let me know if this is feasible or if you'd prefer a different implementation approach. Happy to help test or contribute if needed!
- "[STATUS] == 200"
Thanks for the great work on Gatus
Ondrej
Why do you personally want this feature to be implemented?
No response
How long have you been using this project?
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
area/alertingRelated to alertingRelated to alerting