Module 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 Str Str Str Num NameLoad BinOpAdd Str Call AttributeLoad NameLoad attr Str 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 Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str 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 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 mock patch diamond.collector Collector openvpn OpenVPNCollector TestOpenVPNCollector N/A CollectorTestCase N/A setUp N/A N/A self N/A N/A N/A config N/A get_collector_config OpenVPNCollector N/A interval method instances 10 None N/A file:// N/A N/A self getFixturePath status.log N/A N/A self collector N/A OpenVPNCollector config None N/A test_import N/A N/A self N/A N/A N/A N/A N/A self assertTrue OpenVPNCollector N/A test_should_work_with_real_data N/A N/A self publish_mock N/A N/A N/A N/A N/A N/A self collector collect N/A metrics N/A status.clients.a_example_org.bytes_rx status.clients.a_example_org.bytes_tx status.clients.b_example_org.bytes_rx status.clients.b_example_org.bytes_tx status.clients.c_example_org.bytes_rx status.clients.c_example_org.bytes_tx status.clients.d_example_org.bytes_rx status.clients.d_example_org.bytes_tx status.clients.e_example_org.bytes_rx status.clients.e_example_org.bytes_tx status.clients.connected status.global.max_bcast-mcast_queue_length 109619579.0 935436488.0 25067295.0 10497532.0 21842093.0 20185134.0 4559242.0 11133831.0 13090090.0 13401853.0 5 14.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 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