Module Import alias Import alias Import alias ImportFrom alias Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body Return TupleLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num If CompareEq Call NameLoad NameLoad Num body Return TupleLoad Str Call NameLoad SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod NameLoad TupleLoad NameLoad NameLoad Raise Call NameLoad BinOpMod Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Continue Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore NameLoad Assign NameStore NameLoad If CompareGt NameLoad Num body Assign NameStore Call NameLoad BinOpMult BinOpDiv NameLoad Num NameLoad Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpDiv Call NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore Num Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad BinOpDiv NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore Num Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad Str NameLoad NameLoad decorator_list decorator_list
N/A N/A cStringIO N/A sys N/A time gevent socket N/A E_BADSPEC bad sink spec %r: %s N/A E_SENDFAIL failed to send stats to %s %s: %s Sink N/A object N/A N/A 
    A resource to which stats will be sent.
     error N/A N/A self msg N/A N/A N/A N/A N/A N/A sys stderr write N/A msg N/A _parse_hostport N/A N/A self spec N/A N/A N/A N/A N/A parts N/A N/A spec split : N/A N/A N/A len parts 2 N/A N/A N/A N/A parts N/A 0 N/A int N/A parts N/A 1 N/A N/A N/A len parts 1 N/A N/A N/A N/A int N/A parts N/A 0 N/A N/A N/A ValueError N/A ex N/A N/A N/A ValueError N/A E_BADSPEC N/A spec ex N/A N/A ValueError N/A expected '[host]:port' but got %r spec N/A N/A GraphiteSink N/A Sink N/A N/A 
    Sends stats to one or more Graphite servers.
     __init__ N/A N/A self N/A N/A N/A N/A self _hosts N/A N/A add N/A N/A self spec N/A N/A N/A N/A N/A N/A self _hosts append N/A N/A self _parse_hostport spec N/A send N/A N/A self stats N/A N/A N/A Format stats and send to one or more Graphite hosts N/A buf N/A N/A cStringIO StringIO N/A now N/A int N/A N/A time time N/A num_stats 0 N/A pct N/A stats percent N/A timers N/A stats timers N/A N/A key vals N/A N/A timers iteritems N/A N/A N/A vals N/A N/A N/A num N/A len vals N/A vals N/A sorted vals N/A vmin N/A vals N/A 0 N/A vmax N/A vals N/A -1 N/A mean vmin N/A max_at_thresh vmax N/A N/A num 1 N/A N/A idx N/A round N/A N/A pct 100.0 num N/A tmp N/A vals N/A N/A int idx N/A tmp N/A N/A max_at_thresh N/A tmp N/A -1 N/A mean N/A N/A sum tmp idx N/A key N/A stats.timers.%s key N/A N/A N/A buf write N/A %s.mean %f %d
 N/A key mean now N/A N/A N/A buf write N/A %s.upper %f %d
 N/A key vmax now N/A N/A N/A buf write N/A %s.upper_%d %f %d
 N/A key pct max_at_thresh now N/A N/A N/A buf write N/A %s.lower %f %d
 N/A key vmin now N/A N/A N/A buf write N/A %s.count %d %d
 N/A key num now N/A num_stats 1 N/A counts N/A stats counts N/A N/A key val N/A N/A counts iteritems N/A N/A N/A N/A buf write N/A stats.%s %f %d
 N/A key N/A val N/A stats interval now N/A N/A N/A buf write N/A stats_counts.%s %f %d
 N/A key val now N/A num_stats 1 N/A gauges N/A stats gauges N/A N/A key val N/A N/A gauges iteritems N/A N/A N/A N/A buf write N/A stats.%s %f %d
 N/A key val now N/A N/A N/A buf write N/A stats_counts.%s %f %d
 N/A key val now N/A num_stats 1 N/A N/A N/A buf write N/A statsd.numStats %d %d
 N/A num_stats now N/A host N/A self _hosts N/A N/A N/A N/A sock N/A N/A socket create_connection host N/A N/A N/A sock sendall N/A N/A buf getvalue N/A N/A N/A sock close N/A N/A N/A Exception N/A ex N/A N/A N/A N/A self error N/A E_SENDFAIL N/A graphite host ex N/A N/A