Closed aorfanos closed 1 year ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
alerts/handler.go | 7 | 9 | 77.78% | ||
<!-- | Total: | 17 | 19 | 89.47% | --> |
Totals | |
---|---|
Change from base Build 162: | -0.5% |
Covered Lines: | 411 |
Relevant Lines: | 413 |
We just started looking at using this project, this feature is a must have though - it'd be great to see this merged and released so we don't have to build and maintain a fork.
Thank you for this change @aorfanos - I'm taking a look now. I'm not sure how we missed it this long.
I've forgotten about it as well - better late than never π
@aorfanos thank you for this change - the logic here was the basis of https://github.com/m-lab/alertmanager-github-receiver/pull/59 now merged (your contribution is acknowledged in the commit). We'll prepare a new release this week. I'll close this PR since the functionality is now merged to the main branch.
Allows use of a custom alert message template file.
Example invocation would be:
-alert-template-file=alertfile.md
.I have commented out
Test_formatIssueBody
because I'm still working my way to make it work.This change isβ