Module Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier Import alias Import alias ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Num ListLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return Dict TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return Dict For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr body If BoolOpAnd Call NameLoad NameLoad TupleLoad NameLoad NameLoad CompareIn Str NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A 
Collects data from sidekiq web

#### Dependencies

 * urllib2
 * json (or simeplejson)

 N/A N/A N/A json N/A N/A N/A ImportError N/A N/A simplejson json N/A urllib2 N/A diamond.collector SidekiqWebCollector N/A N/A N/A diamond collector Collector N/A get_default_config_help N/A N/A self N/A N/A N/A config_help N/A N/A N/A super SidekiqWebCollector self get_default_config_help N/A N/A N/A config_help update N/A N/A config_help N/A get_default_config N/A N/A self N/A N/A N/A 
        Returns the default collector settings
         N/A config N/A N/A N/A super SidekiqWebCollector self get_default_config N/A N/A N/A config update N/A host port byte_unit localhost 9999 N/A byte N/A config N/A collect N/A N/A self N/A N/A N/A N/A N/A response N/A N/A urllib2 urlopen N/A http://%s:%s/dashboard/stats N/A N/A N/A self config N/A host N/A int N/A N/A self config N/A port N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self log error Couldnt connect to sidekiq-web: %s e N/A N/A N/A N/A N/A j N/A N/A json loads N/A N/A response read N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self log error Couldnt parse json: %s e N/A N/A N/A k j N/A N/A N/A item value N/A N/A N/A j N/A k items N/A N/A N/A N/A isinstance value N/A str unicode N/A M value N/A N/A value N/A float N/A N/A value replace M N/A unit N/A N/A self config N/A byte_unit N/A N/A unit_value N/A N/A N/A N/A diamond convertor binary convert value value oldUnit megabyte newUnit unit N/A N/A N/A self publish N/A %s.%s_%s N/A k item unit unit_value N/A N/A N/A N/A self publish N/A %s.%s N/A k item value N/A N/A