Module Expr Str Import alias ImportFrom alias TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias identifier ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str 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 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 Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore TupleLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareGtE Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
Send metrics to a [graphite](http://graphite.wikidot.com/) using the high
performace pickle interface.

Graphite is an enterprise-scale monitoring tool that runs well on cheap
hardware. It was originally designed and written by Chris Davis at Orbitz in
2006 as side project that ultimately grew to be a foundational monitoring tool.
In 2008, Orbitz allowed Graphite to be released under the open source Apache
2.0 license. Since then Chris has continued to work on Graphite and has
deployed it at other companies including Sears, where it serves as a pillar of
the e-commerce monitoring system. Today many
[large companies](http://graphite.readthedocs.org/en/latest/who-is-using.html)
use it.

 N/A struct graphite GraphiteHandler N/A N/A N/A cPickle pickle N/A N/A N/A ImportError N/A N/A pickle pickle GraphitePickleHandler N/A GraphiteHandler N/A N/A 
    Overrides the GraphiteHandler class
    Sending data to graphite using batched pickle format
     __init__ N/A N/A self config N/A None N/A N/A 
        Create a new instance of the GraphitePickleHandler
         N/A N/A N/A GraphiteHandler __init__ self config N/A N/A self batch N/A N/A N/A self batch_size N/A int N/A N/A self config N/A batch N/A get_default_config_help N/A N/A self N/A N/A N/A 
        Returns the help text for the configuration options for this handler
         N/A config N/A N/A N/A super GraphitePickleHandler self get_default_config_help N/A N/A N/A config update N/A N/A config N/A get_default_config N/A N/A self N/A N/A N/A 
        Return the default config for the handler
         N/A config N/A N/A N/A super GraphitePickleHandler self get_default_config N/A N/A N/A config update N/A port 2004 N/A config N/A process N/A N/A self metric N/A N/A N/A m N/A N/A metric path N/A N/A metric timestamp N/A metric value N/A N/A N/A N/A self batch append m N/A N/A N/A len N/A self batch N/A self batch_size N/A N/A N/A N/A N/A self log debug GraphitePickleHandler: Sending batch size: %d N/A self batch_size N/A N/A self metrics N/A N/A N/A self _pickle_batch N/A N/A N/A self _send N/A N/A N/A self flush N/A N/A self batch N/A N/A _pickle_batch N/A N/A self N/A N/A N/A 
        Pickle the metrics into a form that can be understood
        by the graphite pickle connector.
         N/A payload N/A N/A pickle dumps N/A self batch N/A header N/A N/A struct pack !L N/A len payload N/A message N/A header payload N/A message N/A N/A