Module Expr Str ImportFrom alias Expr Call NameLoad Str ImportFrom alias Expr Call NameLoad Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias Import alias Expr Call AttributeLoad NameLoad attr Num Import alias Import alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str NameLoad If CompareGt Call NameLoad NameLoad NameLoad body Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Dict Str Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad If NameLoad body ImportFrom alias Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad attr While UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad If CompareEq BinOpMod AttributeLoad NameLoad attr NameLoad Num body Assign AttributeStore NameLoad attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr CompareLtE AttributeLoad NameLoad attr NameLoad CompareLtE AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad attr handlers ExceptHandler type NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Dict If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad NameLoad NameLoad body Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr Dict Str NameLoad Call NameLoad Call NameLoad Assign NameStore Dict If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str Call NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad TryExcept body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr If BoolOpAnd CompareGtE AttributeLoad NameLoad attr Num CompareLt AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpMult BinOpSub Call NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Dict If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMult Num Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr CompareIsNot NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Assign NameStore Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Str body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr TupleLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad While AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad NameLoad ListLoad ListLoad NameLoad If SubscriptLoad NameLoad Index Num body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore SubscriptLoad NameLoad Index Num If CompareNotEq NameLoad Num body Raise ExceptHandler type TupleLoad NameLoad NameLoad body Break ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Raise NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad If BoolOpAnd UnaryOpNot SubscriptLoad NameLoad Index Str BoolOpOr BoolOpAnd NameLoad CompareIn SubscriptLoad NameLoad Index Num ListLoad Str Str UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Assert CompareLt Num NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If NameLoad body Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str ImportFrom alias Expr Call NameLoad Assign NameStore ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad CompareIn SubscriptLoad NameLoad Index Num NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad Call NameLoad Str attr NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Return Num orelse Assign NameStore SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Return Num Return Num decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad
N/A N/A 
A Python Statsd implementation with some datadog special sauce.
 config initialize_logging N/A N/A initialize_logging dogstatsd utils.proxy set_no_proxy_settings N/A N/A set_no_proxy_settings N/A logging N/A optparse N/A os N/A select N/A signal N/A socket N/A sys N/A threading time sleep time urllib urlencode N/A zlib N/A N/A N/A os umask 18 N/A requests N/A simplejson json aggregator get_formatter MetricsBucketAggregator checks.check_status DogstatsdStatus config get_config get_version daemon AgentSupervisor Daemon util chunks get_hostname get_uuid plural utils.pidfile PidFile N/A requests_log N/A N/A logging getLogger requests.packages.urllib3 N/A N/A N/A requests_log setLevel N/A logging WARN N/A N/A requests_log propagate True N/A log N/A N/A logging getLogger dogstatsd N/A DOGSTATSD_FLUSH_INTERVAL 10 N/A DOGSTATSD_AGGREGATOR_BUCKET_SIZE 10 N/A WATCHDOG_TIMEOUT 120 N/A UDP_SOCKET_TIMEOUT 5 N/A FLUSH_LOGGING_PERIOD 70 N/A FLUSH_LOGGING_INITIAL 10 N/A FLUSH_LOGGING_COUNT 5 N/A EVENT_CHUNK_SIZE 50 N/A COMPRESS_THRESHOLD 1024 serialize_metrics N/A N/A metrics N/A N/A N/A serialized N/A N/A json dumps N/A series metrics N/A N/A N/A len serialized COMPRESS_THRESHOLD N/A N/A headers N/A Content-Type Content-Encoding application/json deflate N/A serialized N/A N/A zlib compress serialized N/A N/A headers N/A Content-Type application/json N/A N/A serialized headers N/A serialize_event N/A N/A event N/A N/A N/A N/A N/A json dumps event N/A Reporter N/A N/A threading Thread N/A N/A 
    The reporter periodically sends the aggregated metrics to the
    server.
     __init__ N/A N/A self interval metrics_aggregator api_host api_key use_watchdog event_chunk_size N/A None False None N/A N/A N/A N/A N/A threading Thread __init__ self N/A N/A self interval N/A int interval N/A N/A self finished N/A N/A threading Event N/A N/A self metrics_aggregator metrics_aggregator N/A N/A self flush_count 0 N/A N/A self log_count 0 N/A N/A self watchdog None N/A use_watchdog N/A util Watchdog N/A N/A self watchdog N/A Watchdog WATCHDOG_TIMEOUT N/A N/A self api_key api_key N/A N/A self api_host api_host N/A N/A self event_chunk_size N/A event_chunk_size EVENT_CHUNK_SIZE N/A stop N/A N/A self N/A N/A N/A N/A N/A log info Stopping reporter N/A N/A N/A N/A self finished set N/A run N/A N/A self N/A N/A N/A N/A N/A log info N/A Reporting to %s every %ss N/A N/A self api_host N/A self interval N/A N/A N/A log debug N/A Watchdog enabled: %s N/A bool N/A self watchdog N/A N/A N/A N/A DogstatsdStatus persist N/A N/A N/A N/A N/A self finished isSet N/A N/A N/A N/A N/A self finished wait N/A self interval N/A N/A N/A N/A self metrics_aggregator send_packet_count datadog.dogstatsd.packet.count N/A N/A N/A self flush N/A N/A self watchdog N/A N/A N/A N/A N/A self watchdog reset N/A N/A N/A log debug Stopped reporter N/A N/A N/A DogstatsdStatus remove_latest_status N/A flush N/A N/A self N/A N/A N/A N/A N/A N/A self flush_count 1 N/A N/A self log_count 1 N/A packets_per_second N/A N/A N/A self metrics_aggregator packets_per_second N/A self interval N/A packet_count N/A N/A self metrics_aggregator total_count N/A metrics N/A N/A N/A self metrics_aggregator flush N/A count N/A len metrics N/A N/A N/A N/A self flush_count FLUSH_LOGGING_PERIOD 0 N/A N/A N/A self log_count 0 N/A count N/A N/A N/A N/A self submit metrics N/A events N/A N/A N/A self metrics_aggregator flush_events N/A event_count N/A len events N/A event_count N/A N/A N/A N/A self submit_events events N/A service_checks N/A N/A N/A self metrics_aggregator flush_service_checks N/A check_count N/A len service_checks N/A check_count N/A N/A N/A N/A self submit_service_checks service_checks N/A should_log N/A N/A N/A self flush_count FLUSH_LOGGING_INITIAL N/A N/A self log_count FLUSH_LOGGING_COUNT N/A log_func N/A log info N/A N/A should_log N/A N/A log_func N/A log debug N/A N/A log_func N/A Flush #%s: flushed %s metric%s, %s event%s, and %s service check run%s N/A N/A self flush_count count N/A plural count event_count N/A plural event_count check_count N/A plural check_count N/A N/A N/A self flush_count FLUSH_LOGGING_INITIAL N/A N/A N/A N/A log info N/A First flushes done, %s flushes will be logged every %s flushes. N/A FLUSH_LOGGING_COUNT FLUSH_LOGGING_PERIOD N/A packet_count N/A N/A self metrics_aggregator total_count N/A N/A N/A N/A DogstatsdStatus flush_count N/A self flush_count packet_count packet_count packets_per_second packets_per_second metric_count count event_count event_count persist N/A N/A N/A Exception N/A N/A N/A N/A N/A self finished isSet N/A N/A N/A N/A log debug Couldn't flush metrics, but that's expected as we're stopping N/A N/A N/A N/A log exception Error flushing metrics N/A submit N/A N/A self metrics N/A N/A N/A N/A body headers N/A serialize_metrics metrics N/A params N/A N/A N/A self api_key N/A N/A N/A params N/A api_key N/A self api_key N/A url N/A %s/api/v1/series?%s N/A N/A self api_host N/A urlencode params N/A N/A N/A self submit_http url body headers N/A submit_events N/A N/A self events N/A N/A N/A headers N/A Content-Type application/json N/A event_chunk_size N/A self event_chunk_size N/A chunk N/A chunks events event_chunk_size N/A N/A payload N/A apiKey events uuid internalHostname N/A self api_key N/A api chunk N/A get_uuid N/A get_hostname N/A params N/A N/A N/A self api_key N/A N/A N/A params N/A api_key N/A self api_key N/A url N/A %s/intake?%s N/A N/A self api_host N/A urlencode params N/A N/A N/A self submit_http url N/A N/A json dumps payload headers N/A submit_http N/A N/A self url data headers N/A N/A N/A N/A headers N/A DD-Dogstatsd-Version N/A get_version N/A N/A N/A log debug N/A Posting payload to %s url N/A N/A N/A start_time N/A time N/A r N/A N/A requests post url data data timeout 5 headers headers N/A N/A N/A r raise_for_status N/A N/A N/A N/A r status_code 200 N/A N/A r status_code 205 N/A N/A N/A N/A log debug Payload accepted N/A status N/A r status_code N/A duration N/A round N/A N/A N/A time start_time 1000.0 4 N/A N/A N/A log debug N/A %s POST %s (%sms) N/A status url duration N/A N/A N/A Exception N/A N/A N/A N/A log exception Unable to post payload. N/A N/A N/A N/A N/A log error N/A N/A Received status code: {0} format N/A r status_code N/A N/A N/A Exception N/A N/A N/A submit_service_checks N/A N/A self service_checks N/A N/A N/A headers N/A Content-Type application/json N/A params N/A N/A N/A self api_key N/A N/A N/A params N/A api_key N/A self api_key N/A url N/A N/A {0}/api/v1/check_run?{1} format N/A self api_host N/A urlencode params N/A N/A N/A self submit_http url N/A N/A json dumps service_checks headers N/A N/A Server N/A object N/A N/A 
    A statsd udp server.
     __init__ N/A N/A self metrics_aggregator host port forward_to_host forward_to_port N/A None None N/A N/A N/A self host host N/A N/A self port N/A int port N/A N/A self address N/A N/A self host N/A self port N/A N/A self metrics_aggregator metrics_aggregator N/A N/A self buffer_size N/A 1024 8 N/A N/A self running False N/A N/A self should_forward N/A forward_to_host None N/A N/A self forward_udp_sock None N/A N/A self should_forward N/A N/A N/A forward_to_port None N/A N/A forward_to_port 8125 N/A N/A N/A log info N/A External statsd forwarding enabled. All packets received will be forwarded to %s:%s N/A forward_to_host forward_to_port N/A N/A N/A N/A self forward_udp_sock N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_DGRAM N/A N/A N/A N/A self forward_udp_sock connect N/A forward_to_host forward_to_port N/A N/A N/A Exception N/A N/A N/A N/A log exception Error while setting up connection to external statsd server N/A start N/A N/A self N/A N/A N/A  Run the server.  N/A N/A self socket N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_DGRAM N/A N/A N/A N/A self socket setblocking 0 N/A N/A N/A N/A N/A N/A self socket bind N/A self address N/A N/A N/A N/A socket gaierror N/A N/A N/A N/A N/A self address N/A 0 localhost N/A N/A N/A N/A log warning Warning localhost seems undefined in your host file, using 127.0.0.1 instead N/A N/A self address N/A 127.0.0.1 N/A N/A self address N/A 1 N/A N/A N/A N/A self socket bind N/A self address N/A N/A N/A log info N/A Listening on host & port: %s N/A str N/A self address N/A buffer_size N/A self buffer_size N/A aggregator_submit N/A N/A self metrics_aggregator submit_packets N/A sock N/A N/A self socket N/A socket_recv N/A N/A self socket recv N/A select_select N/A select select N/A select_error N/A select error N/A timeout UDP_SOCKET_TIMEOUT N/A should_forward N/A self should_forward N/A forward_udp_sock N/A self forward_udp_sock N/A N/A self running True N/A N/A self running N/A N/A N/A N/A ready N/A select_select sock N/A N/A timeout N/A N/A ready N/A 0 N/A N/A message N/A socket_recv buffer_size N/A N/A aggregator_submit message N/A should_forward N/A N/A N/A N/A forward_udp_sock send message N/A N/A N/A select_error N/A se N/A N/A errno N/A se N/A 0 N/A N/A errno 4 N/A N/A N/A N/A N/A KeyboardInterrupt SystemExit N/A N/A N/A N/A Exception N/A N/A N/A N/A log exception Error receiving datagram N/A stop N/A N/A self N/A N/A N/A N/A self running False N/A N/A Dogstatsd N/A Daemon N/A N/A  This class is the dogstatsd daemon.  __init__ N/A N/A self pid_file server reporter autorestart N/A N/A N/A N/A N/A Daemon __init__ self pid_file autorestart autorestart N/A N/A self server server N/A N/A self reporter reporter N/A _handle_sigterm N/A N/A self signum frame N/A N/A N/A N/A N/A log debug Caught sigterm. Stopping run loop. N/A N/A N/A N/A self server stop N/A run N/A N/A self N/A N/A N/A N/A N/A signal signal N/A signal SIGTERM N/A self _handle_sigterm N/A N/A N/A signal signal N/A signal SIGINT N/A self _handle_sigterm N/A N/A N/A N/A self reporter start N/A N/A N/A N/A N/A N/A N/A N/A self server start N/A N/A N/A Exception N/A e N/A N/A N/A N/A log exception Error starting server N/A e N/A N/A N/A N/A N/A self reporter stop N/A N/A N/A N/A self reporter join N/A N/A N/A log info Dogstatsd is stopped N/A N/A self autorestart N/A N/A N/A N/A sys exit N/A AgentSupervisor RESTART_EXIT_STATUS N/A info N/A N/A self N/A N/A N/A N/A N/A N/A N/A logging getLogger setLevel N/A logging ERROR N/A N/A N/A DogstatsdStatus print_latest_status N/A classmethod N/A init N/A N/A config_path use_watchdog use_forwarder args N/A None False False None N/A N/A Configure the server and the reporting thread.
     N/A c N/A get_config parse_args False cfg_path config_path N/A N/A N/A N/A c N/A use_dogstatsd N/A N/A args N/A N/A args N/A 0 N/A start restart N/A args N/A N/A N/A N/A log info Dogstatsd is disabled. Exiting N/A N/A sleep 4 N/A N/A N/A sys exit 0 N/A N/A N/A log debug Configuring dogstatsd N/A port N/A c N/A dogstatsd_port N/A interval DOGSTATSD_FLUSH_INTERVAL N/A api_key N/A c N/A api_key N/A aggregator_interval DOGSTATSD_AGGREGATOR_BUCKET_SIZE N/A non_local_traffic N/A c N/A non_local_traffic N/A forward_to_host N/A N/A c get statsd_forward_host N/A forward_to_port N/A N/A c get statsd_forward_port N/A event_chunk_size N/A N/A c get event_chunk_size N/A recent_point_threshold N/A N/A c get recent_point_threshold None N/A target N/A c N/A sd_url N/A use_forwarder N/A N/A target N/A c N/A dogstatsd_target N/A hostname N/A get_hostname c N/A N/A 0 interval N/A aggregator N/A MetricsBucketAggregator hostname aggregator_interval recent_point_threshold recent_point_threshold formatter N/A get_formatter c histogram_aggregates N/A N/A c get histogram_aggregates histogram_percentiles N/A N/A c get histogram_percentiles utf8_decoding N/A c N/A utf8_decoding N/A reporter N/A Reporter interval aggregator target api_key use_watchdog event_chunk_size N/A server_host N/A c N/A bind_host N/A non_local_traffic N/A N/A server_host N/A server N/A Server aggregator server_host port forward_to_host forward_to_host forward_to_port forward_to_port N/A N/A reporter server c N/A main N/A N/A config_path N/A None N/A N/A  The main entry point for the unix version of dogstatsd.  utils.deprecations deprecate_old_command_line_tools N/A N/A deprecate_old_command_line_tools N/A COMMANDS_START_DOGSTATSD N/A start stop restart status N/A parser N/A N/A optparse OptionParser %prog [start|stop|restart|status] N/A N/A N/A parser add_option -u --use-local-forwarder action store_true dest use_forwarder default False N/A N/A opts args N/A N/A parser parse_args N/A N/A N/A args N/A N/A args N/A 0 COMMANDS_START_DOGSTATSD N/A N/A N/A reporter server cnf N/A init config_path use_watchdog True use_forwarder N/A opts use_forwarder args args N/A daemon N/A Dogstatsd N/A N/A N/A PidFile dogstatsd get_path server reporter N/A N/A cnf get autorestart False N/A N/A args N/A N/A N/A N/A daemon start foreground True N/A 0 N/A N/A command N/A args N/A 0 N/A N/A command start N/A N/A N/A N/A daemon start N/A N/A N/A command stop N/A N/A N/A N/A daemon stop N/A N/A N/A command restart N/A N/A N/A N/A daemon restart N/A N/A N/A command status N/A N/A N/A N/A daemon status N/A N/A N/A command info N/A N/A N/A N/A Dogstatsd info N/A N/A N/A N/A N/A sys stderr write N/A Unknown command: %s

 command N/A N/A N/A parser print_help N/A 1 N/A 0 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A main