Use total_seconds for pillow metrics to capture lag > 1 day
Use total_seconds for pillow metrics to capture lag > 1 day

https://docs.python.org/2/library/datetime.html

and days, seconds and microseconds are then normalized so that the
representation is unique, with

0 <= microseconds < 1000000
0 <= seconds < 3600*24 (the number of seconds in one day)
-999999999 <= days <= 999999999

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq