Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Str ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str Str Str Num Dict Str Str Dict Str Str Str NameLoad Str Num Dict Str Str Dict Str Str Dict FunctionDef arguments args NameParam NameParam defaults Dict body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad For NameStore ListLoad Str Str Str body Assign NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str Delete SubscriptDel SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str Expr Call NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad Dict Str Str Str Str Str NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr If SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A 
Contains the main Statsite class which is what should be instantiated
for running a server.
 N/A logging N/A pprint N/A SocketServer N/A threading N/A __version__ aggregator DefaultAggregator aliveness AlivenessHandler collector UDPCollector metrics_store GraphiteStore util deep_merge resolve_class_string N/A BANNER 
Statsite v%(version)s

[components]
  . collector: %(collector_cls)s
  . aggregator: %(aggregator_cls)s
  . store:      %(store_cls)s

[configuration]
%(configuration)s
 Statsite N/A object N/A N/A 
    Statsite is the main entrypoint class for instantiating, configuring,
    and running a Statsite server.
     N/A DEFAULT_SETTINGS N/A flush_interval aggregator aliveness_check collector store metrics 10 N/A class aggregator.DefaultAggregator N/A enabled host port False 0.0.0.0 8325 N/A class collector.UDPCollector N/A class metrics_store.GraphiteStore N/A __init__ N/A N/A self settings N/A N/A N/A N/A 
        Initializes a new Statsite server instance. All configuration
        must be done during instantiate. If configuration changes in the
        future, a new statsite class must be created.
         N/A N/A N/A N/A super Statsite self __init__ N/A N/A self settings N/A deep_merge N/A self DEFAULT_SETTINGS settings N/A component N/A aggregator collector store N/A N/A key N/A _%s_cls component N/A value N/A resolve_class_string N/A N/A N/A self settings N/A component N/A class N/A N/A N/A N/A self settings N/A component N/A class N/A N/A setattr self key value N/A N/A self logger N/A N/A logging getLogger statsite.statsite N/A N/A N/A N/A self logger info N/A BANNER N/A version collector_cls aggregator_cls store_cls configuration __version__ N/A self _collector_cls N/A self _aggregator_cls N/A self _store_cls N/A N/A pprint pformat N/A self settings width 60 indent 2 N/A N/A N/A N/A self logger debug N/A Initializing metrics store: %s N/A self _store_cls N/A N/A self store N/A N/A self _store_cls N/A N/A self settings N/A store N/A N/A N/A N/A self settings N/A aggregator N/A metrics_store N/A self store N/A N/A N/A N/A self logger debug N/A Initializing aggregator: %s N/A self _aggregator_cls N/A N/A self aggregator N/A N/A self _create_aggregator N/A N/A N/A N/A self settings N/A collector N/A aggregator N/A self aggregator N/A N/A N/A N/A self logger debug N/A Initializing collector: %s N/A self _collector_cls N/A N/A self collector N/A N/A self _collector_cls N/A N/A self settings N/A collector N/A N/A self aliveness_check None N/A N/A self timer None N/A start N/A N/A self N/A N/A N/A 
        This starts the actual statsite server. This will run in a
        separate thread and return immediately.
         N/A N/A N/A N/A self logger info Statsite starting N/A N/A N/A self _reset_timer N/A N/A N/A N/A self settings N/A aliveness_check N/A enabled N/A N/A N/A N/A self _enable_aliveness_check N/A N/A N/A N/A self collector start N/A shutdown N/A N/A self N/A N/A N/A 
        This shuts down the server by gracefully exiting the flusher,
        aggregator, and collector. Exact behavior of "gracefully" exit
        is up to the various components used, but by default this
        will throw away any data received during the current flush
        period, rather than immediately flushing it, since this can cause
        inaccurate statistics.
         N/A N/A N/A N/A self logger info Statsite shutting down N/A N/A self timer N/A N/A N/A N/A N/A self timer cancel N/A N/A N/A self _disable_aliveness_check N/A N/A N/A N/A self collector shutdown N/A _enable_aliveness_check N/A N/A self N/A N/A N/A 
        This enables the TCP aliveness check, which is useful for tools
        such as Monit, Nagios, etc. to verify that Statsite is still
        alive.
         N/A N/A self aliveness_check N/A N/A N/A N/A N/A self aliveness_check shutdown N/A N/A N/A N/A self logger debug Aliveness check starting N/A host N/A N/A N/A self settings N/A aliveness_check N/A host N/A port N/A int N/A N/A N/A self settings N/A aliveness_check N/A port N/A N/A self aliveness_check N/A N/A SocketServer TCPServer N/A host port AlivenessHandler N/A thread N/A N/A threading Thread target N/A N/A self aliveness_check serve_forever N/A N/A thread daemon True N/A N/A N/A thread start N/A _disable_aliveness_check N/A N/A self N/A N/A N/A 
        This shuts down the TCP aliveness check.
         N/A N/A N/A N/A self logger debug Aliveness check stopping N/A N/A self aliveness_check N/A N/A N/A N/A N/A self aliveness_check shutdown N/A N/A self aliveness_check None N/A _on_timer N/A N/A self N/A N/A N/A 
        This is the callback called every flush interval, and is responsible
        for initiating the aggregator flush.
         N/A N/A N/A self _reset_timer N/A N/A N/A self _flush_and_switch_aggregator N/A _flush_and_switch_aggregator N/A N/A self N/A N/A N/A 
        This is called periodically to flush the aggregator and switch
        the collector to a new aggregator.
         N/A N/A N/A N/A self logger debug Flushing and switching aggregator... N/A old_aggregator N/A self aggregator N/A N/A self aggregator N/A N/A self _create_aggregator N/A N/A N/A N/A self collector set_aggregator N/A self aggregator N/A thread N/A N/A threading Thread target N/A old_aggregator flush N/A N/A thread daemon True N/A N/A N/A thread start N/A _create_aggregator N/A N/A self N/A N/A N/A 
        Returns a new aggregator with the settings given at initialization.
         N/A N/A N/A self _aggregator_cls metrics_settings N/A N/A self settings N/A metrics N/A N/A self settings N/A aggregator N/A _reset_timer N/A N/A self N/A N/A N/A 
        Resets the flush timer.
         N/A N/A self timer N/A N/A N/A N/A N/A self timer cancel N/A N/A self timer N/A N/A threading Timer N/A int N/A N/A self settings N/A flush_interval N/A self _on_timer N/A N/A N/A N/A self timer start N/A N/A