Update README to indicate where to get alert template info
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
IamTheFij 2019-11-20 17:21:48 -08:00
parent b1422bbec2
commit b808df7365

View File

@ -30,7 +30,7 @@ monitors:
command_shell: echo 'test' command_shell: echo 'test'
``` ```
Second, templating for Alert messages has been updated. In the Python version, `str.format(...)` was used with certain keys passed in that could be used to format messages. In the Go version, we use a struct containing Alert info and the built in Go templating format. Eg. Second, templating for Alert messages has been updated. In the Python version, `str.format(...)` was used with certain keys passed in that could be used to format messages. In the Go version, we use a struct, `AlertNotice` defined in `alert.go` and the built in Go templating format. Eg.
minitor-py: minitor-py:
```yaml ```yaml
@ -85,7 +85,8 @@ Pairity:
- [x] Run alert commands in a shell - [x] Run alert commands in a shell
- [x] Allow templating of alert commands - [x] Allow templating of alert commands
- [x] Implement Prometheus client to export metrics - [x] Implement Prometheus client to export metrics
- [ ] Test coverage - [x] Test coverage
- [ ] Integration testing (manual or otherwise)
Improvement (potentially breaking): Improvement (potentially breaking):