Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Lambda arguments args defaults CompareIsNot NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str Str Str Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num ListLoad Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num Num Str Num Num Num Num Num Num Num Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A test CollectorTestCase test get_collector_config test unittest test run_only mock Mock mock patch diamond.collector Collector beanstalkd BeanstalkdCollector run_only_if_beanstalkc_is_available N/A N/A func N/A N/A N/A N/A N/A beanstalkc N/A N/A N/A ImportError N/A N/A beanstalkc None N/A pred N/A N/A N/A N/A N/A beanstalkc None N/A N/A run_only func pred N/A TestBeanstalkdCollector N/A CollectorTestCase N/A setUp N/A N/A self N/A N/A N/A config N/A get_collector_config BeanstalkdCollector N/A host port localhost 11300 N/A N/A self collector N/A BeanstalkdCollector config None N/A test_import N/A N/A self N/A N/A N/A N/A N/A self assertTrue BeanstalkdCollector N/A test_should_work_with_real_data N/A N/A self publish_mock N/A N/A N/A stats N/A instance tubes N/A current-connections max-job-size cmd-release cmd-reserve pid cmd-bury current-producers total-jobs current-jobs-ready cmd-peek-buried current-tubes current-jobs-delayed uptime cmd-watch job-timeouts cmd-stats rusage-stime current-jobs-reserved current-jobs-buried cmd-reserve-with-timeout cmd-put cmd-pause-tube cmd-list-tubes-watched cmd-list-tubes current-workers cmd-list-tube-used cmd-ignore binlog-records-migrated current-waiting cmd-peek cmd-peek-ready cmd-peek-delayed cmd-touch binlog-oldest-index binlog-current-index cmd-use total-connections cmd-delete binlog-max-size cmd-stats-job rusage-utime cmd-stats-tube binlog-records-written cmd-kick current-jobs-urgent 10 65535 0 4386 23703 0 0 4331 0 0 7 0 182954 55 0 1 295.970497 0 0 0 4331 0 0 0 9 0 0 0 9 0 0 0 0 0 0 4321 4387 4331 10485760 0 125.92787 0 0 0 0 N/A N/A current-jobs-delayed pause name cmd-pause-tube current-jobs-buried cmd-delete pause-time-left current-waiting current-jobs-ready total-jobs current-watching current-jobs-reserved current-using current-jobs-urgent 0 0 default 0 0 10 0 9 0 10 10 0 10 0 N/A patch_get_stats N/A N/A patch object BeanstalkdCollector _get_stats N/A Mock return_value stats N/A N/A N/A patch_get_stats start N/A N/A N/A N/A self collector collect N/A N/A N/A patch_get_stats stop N/A metrics N/A current-connections max-job-size cmd-release cmd-reserve pid cmd-bury current-producers total-jobs current-jobs-ready cmd-peek-buried current-tubes current-jobs-delayed uptime cmd-watch job-timeouts cmd-stats rusage-stime current-jobs-reserved current-jobs-buried cmd-reserve-with-timeout cmd-put cmd-pause-tube cmd-list-tubes-watched cmd-list-tubes current-workers cmd-list-tube-used cmd-ignore binlog-records-migrated current-waiting cmd-peek cmd-peek-ready cmd-peek-delayed cmd-touch binlog-oldest-index binlog-current-index cmd-use total-connections cmd-delete binlog-max-size cmd-stats-job rusage-utime cmd-stats-tube binlog-records-written cmd-kick current-jobs-urgent tubes.default.current-jobs-delayed tubes.default.pause tubes.default.cmd-pause-tube tubes.default.current-jobs-buried tubes.default.cmd-delete tubes.default.pause-time-left tubes.default.current-waiting tubes.default.current-jobs-ready tubes.default.total-jobs tubes.default.current-watching tubes.default.current-jobs-reserved tubes.default.current-using tubes.default.current-jobs-urgent 10 65535 0 4386 23703 0 0 4331 0 0 7 0 182954 55 0 1 295.970497 0 0 0 4331 0 0 0 9 0 0 0 9 0 0 0 0 0 0 4321 4387 4331 10485760 0 125.92787 0 0 0 0 0 0 0 0 10 0 9 0 10 10 0 10 0 N/A N/A N/A self setDocExample collector N/A N/A N/A self collector __class__ __name__ metrics metrics defaultpath N/A N/A N/A self collector config N/A path N/A N/A N/A self assertPublishedMany publish_mock metrics N/A run_only_if_beanstalkc_is_available N/A N/A patch object Collector publish N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main