Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference alerts by id #184

Closed
miguelgdoval opened this issue Oct 8, 2021 · 1 comment
Closed

Reference alerts by id #184

miguelgdoval opened this issue Oct 8, 2021 · 1 comment

Comments

@miguelgdoval
Copy link

When having to deal with many services, we'd need a way to also have many types of alerts (configured ad hoc for each of them).
I think it would be great to reference each alert definition with an id, that will be used by the services to know which alert they shuld trigger.
The schema would be something like this:
alerting:
custom:
id: "alert1"
...
custom:
id: "alert2"
...
services:

  • name: service1
    alerts:
    • type: custom
      id: "alert1"
      ...
  • name: service2
    alerts:
    • type: custom
      id: "alert2"
      ...
@TwiN
Copy link
Owner

TwiN commented Oct 10, 2021

Hello @miguelgdoval,

See #96 -- it's not exactly a duplicate, but whatever solution comes out of that issue will likely solve this issue.

@TwiN TwiN closed this as completed Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants