Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict 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 FunctionDef arguments args NameParam defaults body If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call 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 Call AttributeLoad NameLoad attr 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 Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str Call NameLoad keyword Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam defaults body Return Dict Str Str Str Str Str Str Str Str Str Num Num Num Num Num Num Num Num Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A test CollectorTestCase test get_collector_config test unittest mock Mock mock patch diamond.collector Collector aurora AuroraCollector TestAuroraCollector N/A CollectorTestCase N/A setUp N/A N/A self N/A N/A N/A config N/A get_collector_config AuroraCollector N/A N/A N/A self collector N/A AuroraCollector config None N/A test_import N/A N/A self N/A N/A N/A N/A N/A self assertTrue AuroraCollector N/A test_should_work_with_real_data N/A N/A self publish_mock N/A N/A se N/A N/A url N/A N/A N/A N/A url http://localhost:8081/vars N/A N/A N/A N/A self getFixture metrics N/A N/A patch_urlopen N/A patch urllib2.urlopen N/A Mock side_effect se N/A N/A N/A patch_urlopen start N/A N/A N/A N/A self collector collect N/A N/A N/A patch_urlopen stop N/A metrics N/A N/A self get_metrics 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 N/A N/A patch object Collector publish test_should_fail_gracefully N/A N/A self publish_mock N/A N/A N/A patch_urlopen N/A patch urllib2.urlopen N/A Mock return_value N/A N/A self getFixture metrics_blank N/A N/A N/A patch_urlopen start N/A N/A N/A N/A self collector collect N/A N/A N/A patch_urlopen stop N/A N/A N/A self assertPublishedMany publish_mock N/A N/A N/A N/A patch object Collector publish get_metrics N/A N/A self N/A N/A N/A N/A async.tasks.completed attribute.store.fetch.all.events attribute.store.fetch.all.events.per.sec attribute.store.fetch.all.nanos.per.event attribute.store.fetch.all.nanos.total attribute.store.fetch.all.nanos.total.per.sec attribute.store.fetch.one.events tasks.FAILED.computers.prod.computer-traffic-analysis tasks.FAILED.reporting.prod.report-processing 11117.0 24.0 0.0 0.0 90208119.0 0.0 33024.0 517.0 2.0 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main