in provider/health.py [0:0]
def generateHealthReport(consumers, lastCanaryTime):
healthReport = {}
healthReport['last_db_canary'] = secondsSince(lastCanaryTime)
healthReport['uptime'] = getUpdateTime()
healthReport['cpu_times'] = getCPUTimes()
healthReport['cpu_percent'] = getCPUPercent()
healthReport['virtual_memory'] = getVirtualMemory()
healthReport['swap_memory'] = getSwapMemory()
healthReport['disk_usage'] = getDiskUsage()
healthReport['disk_io_counters'] = getDiskIOCounters()
healthReport['net_io_counters'] = getNetworkIOCounters()
healthReport['consumers'] = getConsumers(consumers)
return healthReport