Module Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str ListLoad Dict Str Str Str ListLoad Str Str Dict Str Str Str ListLoad Str Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Num Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num Num body AugAssignAdd AttributeStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str ListLoad Dict Str Str Str Str Str ListLoad Str Str Dict Str Str Str ListLoad Str Str Assign AttributeStore NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AugAssignSub AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr BinOpMult AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad NameLoad attr AugAssignSub AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr BinOpMult AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str ListLoad Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp BoolOpAnd CompareIn Str Call AttributeLoad NameLoad attr CompareIn Str Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str ListLoad Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp BoolOpAnd CompareIn Str Call AttributeLoad NameLoad attr CompareIn Str Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Return TupleLoad NameLoad NameLoad ListLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Dict Str Str Str ListLoad ListLoad Num Num ListLoad Num Num FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A logging N/A random N/A time bzt.modules.monitoring Monitoring MonitoringListener MonitoringCriteria bzt.modules.monitoring ServerAgentClient GraphiteClient LocalClient bzt.utils BetterDict tests BZTestCase tests.mocks EngineEmul SocketEmul TestMonitoring N/A BZTestCase N/A test_server_agent N/A N/A self N/A N/A N/A obj N/A Monitoring N/A N/A obj engine N/A EngineEmul N/A N/A N/A N/A obj parameters merge N/A server-agent N/A N/A address metrics 127.0.0.1:4444 N/A cpu disks N/A address metrics 10.0.0.1 N/A something1 something2 N/A listener N/A LoggingMonListener N/A N/A N/A obj add_listener listener N/A widget N/A N/A obj get_widget N/A N/A N/A obj add_listener widget N/A crit_conf N/A BetterDict N/A N/A N/A crit_conf merge N/A threshold subject 5 127.0.0.1:4444/cpu N/A criteria N/A MonitoringCriteria crit_conf obj N/A N/A N/A obj add_listener criteria N/A N/A obj client_classes N/A server-agent ServerAgentClientEmul N/A N/A N/A obj prepare N/A N/A N/A obj startup N/A _ N/A range 1 10 N/A N/A N/A N/A N/A N/A obj clients N/A 0 socket recv_data N/A %s	%s
 N/A N/A N/A random random N/A N/A random random N/A N/A N/A obj check N/A N/A N/A logging debug Criteria state: %s criteria N/A N/A N/A time sleep 1 N/A N/A N/A obj shutdown N/A N/A N/A obj post_process N/A N/A N/A self assertEquals test
interval:1
metrics:cpu	disks
exit
 N/A N/A N/A N/A obj clients N/A 0 socket sent_data N/A test_graphite N/A N/A self N/A N/A N/A obj N/A Monitoring N/A N/A obj engine N/A EngineEmul N/A N/A N/A N/A obj parameters merge N/A graphite N/A N/A address label metrics people.com:1066 Earth N/A body brain N/A address metrics http://spirits.net N/A transparency usability N/A N/A obj client_classes N/A graphite GraphiteClientEmul N/A N/A N/A obj prepare N/A N/A N/A obj startup N/A N/A N/A obj check N/A N/A N/A N/A obj clients N/A 0 check_time N/A N/A N/A N/A obj clients N/A 0 interval 2 N/A N/A N/A obj check N/A N/A N/A N/A obj clients N/A 0 check_time N/A N/A N/A N/A obj clients N/A 0 interval 2 N/A N/A N/A N/A obj clients N/A 0 prepared_data wrong data N/A N/A N/A obj check N/A N/A N/A obj shutdown N/A N/A N/A obj post_process N/A test_local_with_engine N/A N/A self N/A N/A N/A config N/A metrics N/A cpu engine-loop N/A obj N/A LocalClient N/A N/A logging getLogger label config N/A N/A obj engine N/A EngineEmul N/A data N/A N/A obj get_data N/A N/A N/A self assertTrue N/A all N/A N/A N/A source N/A N/A item keys N/A ts N/A N/A item keys N/A item data N/A data N/A test_local_without_engine N/A N/A self N/A N/A N/A config N/A metrics N/A cpu N/A obj N/A LocalClient N/A N/A logging getLogger label config N/A data N/A N/A obj get_data N/A N/A N/A self assertTrue N/A all N/A N/A N/A source N/A N/A item keys N/A ts N/A N/A item keys N/A item data N/A data N/A N/A LoggingMonListener N/A MonitoringListener N/A monitoring_data N/A N/A self data N/A N/A N/A N/A N/A logging debug Data: %s data N/A N/A ServerAgentClientEmul N/A ServerAgentClient N/A __init__ N/A N/A self parent_logger label config N/A N/A N/A N/A N/A N/A super ServerAgentClientEmul self __init__ parent_logger label config N/A N/A self socket N/A SocketEmul N/A N/A N/A self socket recv_data Yep
 N/A N/A self select N/A self select_emul N/A select_emul N/A N/A self reads writes excepts timeout N/A N/A N/A N/A reads writes N/A N/A N/A GraphiteClientEmul N/A GraphiteClient N/A N/A prepared_data N/A N/A target datapoints usability N/A N/A 1 1 N/A 2 2 _data_transfer N/A N/A self N/A N/A N/A N/A self prepared_data N/A N/A