Skip to content

Is there a health check endpoint or a function test? #21

@skiwheelr

Description

@skiwheelr

I need some way to test if this is relaying the message to discord. Would the following prometheus call work?

{
"version": "4",
"groupKey": "keygroup",
"status": "firing",
"receiver": "receiver1",
"groupLabels": null,
"commonLabels": null,
"commonAnnotations": null,
"externalURL": "am",
"alerts": [
{
"status": "firing",
"labels": null,
"annotations": null,
"startsAt": "",
"endsAt": "",
"generatorURL": "url"
},
]
}

Right now it returns an empty response body, so i have no idea if this is working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions