Revert "Revert "Merge pull request #4593 from dimagi/monitoring""
Revert "Revert "Merge pull request #4593 from dimagi/monitoring""

This reverts commit 023faa7128c9462b0458302f5c7a819c7c607f40.

dimagi/commcare-hq,puttarajubr/commcare-hq,puttarajubr/commcare-hq,puttarajubr/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,puttarajubr/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq