-
Notifications
You must be signed in to change notification settings - Fork 23
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
Different org/repo per alert #23
Comments
I see that different repos are supported (as per #4) but it looks like the org is still static. Would be good to be able to customize the org too. |
Hi, @Daniel15, can you say more about the specific use case where this would be helpful? This makes authorization more difficult. While the current version supports personal auth tokens, I would like to move to the Github App auth model which would make arbitrary org routing impossible. If you're willing to run multiple alertmanager-github-receiver instances, then alertmanager routes could address your use-case today. |
@stephen-soltesz - I'm a member of a few Github orgs. I have one Prometheus instance that collects metrics relating to a few of them. It would be nice to have some way to use one Prometheus + one alertmanager + one alertrmanager-github-receiver to handle alerts for all of them.
That's probably a reasonable idea... I assume the github-receiver doesn't take much RAM or CPU so running a few instances would be fine. I haven't actually tried it out yet.
Would that actually make it more difficult? I think you could just authorize the Github App for multiple orgs? |
The readme says:
Is it possible to configure the org and repo per alert, or would I need to run multiple instances of the receiver? I want to configure several alerts across several different Github org and repositories, using a single Prometheus instance.
The text was updated successfully, but these errors were encountered: