monasca-agent/monasca_agent/collector/checks/libs
Ryan Bak a0259e6b14 Rework agent to better handle multithreaded checks
The custom thread_pool could not restart in certain cases due to limitations
with python threads.  This moves to using multiprocessing.dummy for the thread
pool and gevent to allow thread timeouts.

Also cleans up some of the asynchronous logic.
Pools have constant numbers of threads, so thread count is checked at pool creation
No longer tracks job start time, as this is handled by timeouts.
Move resultsq instantiation so pool restart does not drop data.
Mark checks as done at end of run rather than when results are processed.

Closes-Bug: 1446757

Change-Id: I28bdd8d8404087097bff9f93ff60f5cc86a72fbb
2016-05-18 12:31:43 -06:00
..
__init__.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
jmxfetch-0.3.0-jar-with-dependencies.jar Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
jmxterm-1.0-DATADOG-uber.jar Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00