Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad orelse TryExcept body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Return Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Return For NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr Dict SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr IfExp CompareEq SubscriptLoad NameLoad Index Str Str Num Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr IfExp CompareEq SubscriptLoad NameLoad Index Str Str Num Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr IfExp CompareEq SubscriptLoad NameLoad Index Str Str Num Call NameLoad SubscriptLoad NameLoad Index Str If NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpOr CompareNotIn NameLoad AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareGt SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareLtE SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore BoolOpAnd AttributeLoad NameLoad attr CompareGt SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareGt SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If BoolOpOr NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore BoolOpAnd AttributeLoad NameLoad attr CompareLt SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareLt SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If BoolOpOr NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpAnd AttributeLoad NameLoad attr CompareGt BinOpDiv BinOpAdd NameLoad NameLoad Num AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num If CompareGt Call NameLoad ListLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list
N/A N/A signal N/A warnings circus.plugins.statsd BaseObserver circus.util to_bool circus.util human2bytes ResourceWatcher N/A BaseObserver N/A __init__ N/A N/A self N/A args config N/A N/A N/A N/A N/A super ResourceWatcher self __init__ args config N/A N/A self watcher N/A N/A config get watcher None N/A N/A self service N/A N/A config get service None N/A N/A N/A self service None N/A N/A N/A N/A warnings warn ResourceWatcher.service is deprecated please use ResourceWatcher.watcher instead. category DeprecationWarning N/A N/A N/A self watcher None N/A N/A N/A self watcher N/A self service N/A N/A N/A self watcher None N/A N/A N/A N/A N/A self statsd stop N/A N/A N/A N/A self loop close N/A N/A NotImplementedError watcher is mandatory for now. N/A N/A self max_cpu N/A float N/A N/A config get max_cpu 90 N/A N/A self max_mem N/A N/A config get max_mem N/A N/A N/A self max_mem None N/A N/A N/A self max_mem 90.0 N/A N/A self _max_percent True N/A N/A N/A N/A N/A self max_mem N/A float N/A self max_mem N/A N/A self _max_percent True N/A N/A N/A ValueError N/A N/A N/A self max_mem N/A human2bytes N/A self max_mem N/A N/A self _max_percent False N/A N/A self min_cpu N/A N/A config get min_cpu N/A N/A N/A self min_cpu None N/A N/A N/A self min_cpu N/A float N/A self min_cpu N/A N/A self min_mem N/A N/A config get min_mem N/A N/A N/A self min_mem None N/A N/A N/A N/A N/A self min_mem N/A float N/A self min_mem N/A N/A self _min_percent True N/A N/A N/A ValueError N/A N/A N/A self min_mem N/A human2bytes N/A self min_mem N/A N/A self _min_percent True N/A N/A self health_threshold N/A float N/A N/A config get health_threshold 75 N/A N/A self max_count N/A int N/A N/A config get max_count 3 N/A N/A self process_children N/A to_bool N/A N/A config get process_children 0 N/A N/A self child_signal N/A int N/A N/A config get child_signal N/A signal SIGTERM N/A N/A self _count_over_cpu N/A N/A N/A self _count_over_mem N/A N/A N/A self _count_under_cpu N/A N/A N/A self _count_under_mem N/A N/A N/A self _count_health N/A N/A look_after N/A N/A self N/A N/A N/A info N/A N/A self call stats name N/A self watcher N/A N/A N/A info N/A status error N/A N/A N/A N/A N/A self statsd increment N/A _resource_watcher.%s.error N/A self watcher N/A N/A stats N/A info N/A info N/A N/A N/A self _process_index parent N/A N/A self _collect_data stats N/A N/A N/A self process_children N/A N/A N/A sub_info N/A N/A stats values N/A N/A N/A isinstance sub_info dict N/A N/A child_info N/A sub_info N/A children N/A N/A data N/A N/A self _collect_data N/A N/A child_info N/A pid child_info N/A N/A N/A self _process_index N/A child_info N/A pid data N/A _collect_data N/A N/A self stats N/A N/A N/A data N/A N/A cpus N/A N/A mems N/A N/A mems_abs N/A N/A sub_info N/A N/A stats values N/A N/A N/A isinstance sub_info dict N/A N/A N/A N/A cpus append N/A N/A N/A sub_info N/A cpu N/A 100 N/A float N/A sub_info N/A cpu N/A N/A N/A mems append N/A N/A N/A sub_info N/A mem N/A 100 N/A float N/A sub_info N/A mem N/A N/A N/A mems_abs append N/A N/A N/A sub_info N/A mem_info1 N/A 0 N/A human2bytes N/A sub_info N/A mem_info1 N/A cpus N/A N/A N/A data N/A max_cpu N/A max cpus N/A N/A data N/A max_mem N/A max mems N/A N/A data N/A max_mem_abs N/A max mems_abs N/A N/A data N/A min_cpu N/A min cpus N/A N/A data N/A min_mem N/A min mems N/A N/A data N/A min_mem_abs N/A min mems_abs N/A N/A N/A data N/A max_cpu 0 N/A N/A data N/A max_mem 0 N/A N/A data N/A min_cpu 0 N/A N/A data N/A min_mem 0 N/A N/A data N/A max_mem_abs 0 N/A N/A data N/A min_mem_abs 0 N/A data N/A _process_index N/A N/A self index stats N/A N/A N/A N/A N/A index N/A self _count_over_cpu N/A index N/A self _count_over_mem N/A index N/A self _count_under_cpu N/A index N/A self _count_under_mem N/A index N/A self _count_health N/A N/A N/A N/A self _reset_index index N/A N/A N/A self max_cpu N/A N/A stats N/A max_cpu N/A self max_cpu N/A N/A N/A N/A N/A self statsd increment N/A _resource_watcher.%s.over_cpu N/A self watcher N/A N/A N/A self _count_over_cpu N/A index 1 N/A N/A N/A N/A self _count_over_cpu N/A index 0 N/A N/A N/A N/A self min_cpu None N/A N/A stats N/A min_cpu N/A self min_cpu N/A N/A N/A N/A N/A self statsd increment N/A _resource_watcher.%s.under_cpu N/A self watcher N/A N/A N/A self _count_under_cpu N/A index 1 N/A N/A N/A N/A self _count_under_cpu N/A index 0 N/A N/A N/A self max_mem None N/A N/A over_percent N/A N/A self _max_percent N/A N/A stats N/A max_mem N/A self max_mem N/A over_value N/A N/A N/A self _max_percent N/A N/A stats N/A max_mem_abs N/A self max_mem N/A N/A over_percent over_value N/A N/A N/A N/A N/A self statsd increment N/A _resource_watcher.%s.over_memory N/A self watcher N/A N/A N/A self _count_over_mem N/A index 1 N/A N/A N/A N/A self _count_over_mem N/A index 0 N/A N/A N/A N/A self _count_over_mem N/A index 0 N/A N/A N/A self min_mem None N/A N/A under_percent N/A N/A self _min_percent N/A N/A stats N/A min_mem N/A self min_mem N/A under_value N/A N/A N/A self _min_percent N/A N/A stats N/A min_mem_abs N/A self min_mem N/A N/A under_percent under_value N/A N/A N/A N/A N/A self statsd increment N/A _resource_watcher.%s.under_memory N/A self watcher N/A N/A N/A self _count_under_mem N/A index 1 N/A N/A N/A N/A self _count_under_mem N/A index 0 N/A N/A N/A N/A self _count_under_mem N/A index 0 N/A max_cpu N/A stats N/A max_cpu N/A max_mem N/A stats N/A max_mem N/A N/A N/A self health_threshold N/A N/A N/A max_cpu max_mem 2.0 N/A self health_threshold N/A N/A N/A N/A N/A self statsd increment N/A _resource_watcher.%s.over_health N/A self watcher N/A N/A N/A self _count_health N/A index 1 N/A N/A N/A N/A self _count_health N/A index 0 N/A N/A N/A max N/A N/A N/A self _count_over_cpu N/A index N/A N/A self _count_under_cpu N/A index N/A N/A self _count_over_mem N/A index N/A N/A self _count_under_mem N/A index N/A N/A self _count_health N/A index N/A self max_count N/A N/A N/A N/A N/A self statsd increment N/A _resource_watcher.%s.restarting N/A self watcher N/A N/A index parent N/A N/A N/A N/A self cast restart name N/A self watcher N/A N/A N/A self _reset_index index N/A N/A N/A N/A self cast signal name N/A self watcher signum N/A self child_signal child_pid index N/A N/A N/A self _remove_index index N/A N/A N/A self _reset_index index N/A _reset_index N/A N/A self index N/A N/A N/A N/A N/A self _count_over_cpu N/A index 0 N/A N/A N/A self _count_over_mem N/A index 0 N/A N/A N/A self _count_under_cpu N/A index 0 N/A N/A N/A self _count_under_mem N/A index 0 N/A N/A N/A self _count_health N/A index 0 N/A _remove_index N/A N/A self index N/A N/A N/A N/A N/A self _count_over_cpu N/A index N/A N/A N/A self _count_over_mem N/A index N/A N/A N/A self _count_under_cpu N/A index N/A N/A N/A self _count_under_mem N/A index N/A N/A N/A self _count_health N/A index N/A stop N/A N/A self N/A N/A N/A N/A N/A N/A self statsd stop N/A N/A N/A N/A super ResourceWatcher self stop N/A N/A