Merge ~peter-sabaini/charm-sudo-pair:feature/add-pd-logging into charm-sudo-pair:master
Proposed by
Peter Sabaini
Status: | Rejected |
---|---|
Rejected by: | Eric Chen |
Proposed branch: | ~peter-sabaini/charm-sudo-pair:feature/add-pd-logging |
Merge into: | charm-sudo-pair:master |
Diff against target: |
297 lines (+143/-6) 10 files modified
src/actions/actions.py (+13/-0) src/config.yaml (+8/-0) src/files/pagerdutyevent.py (+68/-0) src/lib/libsudopair.py (+33/-1) src/reactive/sudo_pair.py (+4/-0) src/templates/sudo_approve.tmpl (+5/-2) src/templates/sudo_pair.pagerduty.tmpl (+6/-0) src/tests/unit/conftest.py (+2/-1) src/tests/unit/test_actions.py (+3/-1) src/tests/unit/test_libsudopair.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Troup (community) | Needs Fixing | ||
Paul Goins | Approve | ||
Tom Haddon | Abstain | ||
BootStack Reviewers | mr tracking; do not claim | Pending | |
Giuseppe Petralia | Pending | ||
Review via email:
|
This proposal supersedes a proposal from 2021-06-09.
Commit message
Pagerduty alerting, action logging
Ability to have pagerduty alerts triggered on auto-approve. Revamp logging, add logging for remove-sudopair action. Use https proxy to contact the PD events endpoint if set in model config.
To post a comment you must log in.
Small comment on the pagerduty_proxy that may be removed in favor of the juju model-config if any.
Comments in line.
Other than that looks good to me.