Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias alias alias alias alias ImportFrom alias Import alias identifier Import alias identifier ImportFrom alias alias ImportFrom alias alias Import alias ImportFrom alias identifier ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Str Assign NameStore Call NameLoad ListLoad Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad orelse Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad For NameStore AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body If UnaryOpNot NameLoad body Return NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list If NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str Str Str Dict Str Str Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str BinOpMult BinOpMult Num Num Num Dict Str Str BinOpSub Call AttributeLoad NameLoad attr BinOpMult Num Num Call NameLoad Call AttributeLoad NameLoad attr Str BinOpMult Num Num Dict Str Str Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str BinOpMult Num Num Dict Str Str Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str BinOpMult Num Num Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Str Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad For NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Str body If CompareEq Call NameLoad NameLoad Num body Continue TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad keyword Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad If CompareNotEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad If UnaryOpNot AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Break Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq AttributeLoad NameLoad attr Str body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareNotEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore NameLoad Assign NameStore Dict Str Str NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Dict Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Str For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad orelse AugAssignAdd SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListLoad BinOpMod Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Dict Str ListLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot AttributeLoad NameLoad attr body Return Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Str body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str Str NameLoad AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Str Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str If BoolOpOr CompareLtE AttributeLoad NameLoad attr NameLoad CompareEq BinOpMod AttributeLoad NameLoad attr NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Num Call NameLoad AttributeLoad NameLoad attr Num If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Num Call NameLoad AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Print Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Print Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Print Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Print Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword Call AttributeLoad NameLoad attr keyword BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareLtE AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore NameLoad Index Str ListLoad Assign SubscriptStore NameLoad Index Str ListLoad Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore NameLoad Index Str Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str ListLoad Dict Str Str Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Str NameLoad Str BinOpMod Str Call NameLoad If Call AttributeLoad NameLoad attr Str body TryExcept body If CompareNotEq Call NameLoad Str body Assign NameStore Str orelse Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str orelse Raise NameLoad ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore ListLoad If CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore ListLoad If Call AttributeLoad NameLoad attr Str body For NameStore AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore ListLoad For NameStore NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If BoolOpAnd SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Str body Assign NameStore ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr If CompareNotIn Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str ListLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Delete SubscriptDel NameLoad Index Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse TryExcept body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass TryExcept body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Assign SubscriptStore NameLoad Index Str Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareGtE BinOpSub NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str NameLoad Return NameLoad Return NameLoad decorator_list decorator_list
N/A N/A collections N/A logging N/A pprint N/A socket N/A sys N/A time checks AGENT_METRICS_CHECK_NAME AgentCheck create_service_check checks.check_status CheckStatus CollectorStatus EmitterStatus STATUS_ERROR STATUS_OK checks.ganglia Ganglia N/A checks.system.unix u N/A checks.system.win32 w32 checks.server_density plugins yoshi config get_system_stats get_version N/A modules resources.processes Processes ResProcesses util EC2 GCE get_hostname get_os get_uuid Timer utils.jmx JMXFiles utils.subprocess_output subprocess N/A log N/A N/A logging getLogger __name__ N/A FLUSH_LOGGING_PERIOD 10 N/A FLUSH_LOGGING_INITIAL 5 N/A DD_CHECK_TAG dd_check:{0} AgentPayload N/A N/A collections MutableMapping N/A N/A 
    AgentPayload offers a single payload interface but manages two payloads:
    * A metadata payload
    * A data payload that contains metrics, events, service_checks and more

    Each of these payloads is automatically submited to its specific endpoint.
     N/A METADATA_KEYS N/A frozenset N/A meta tags host-tags systemStats agent_checks gohai external_host_tags N/A DUPLICATE_KEYS N/A frozenset N/A agentKey agentVersion N/A COMMON_ENDPOINT N/A DATA_ENDPOINT metrics N/A METADATA_ENDPOINT metadata __init__ N/A N/A self N/A N/A N/A N/A self data_payload N/A dict N/A N/A self meta_payload N/A dict N/A payload N/A N/A self N/A N/A N/A 
        Single payload with the content of data and metadata payloads.
         N/A res N/A N/A N/A self data_payload copy N/A N/A N/A res update N/A self meta_payload N/A res N/A property __getitem__ N/A N/A self key N/A N/A N/A N/A key N/A self METADATA_KEYS N/A N/A N/A N/A self meta_payload N/A key N/A N/A N/A N/A self data_payload N/A key N/A __setitem__ N/A N/A self key value N/A N/A N/A N/A key N/A self DUPLICATE_KEYS N/A N/A N/A N/A self data_payload N/A key value N/A N/A N/A self meta_payload N/A key value N/A N/A N/A key N/A self METADATA_KEYS N/A N/A N/A N/A self meta_payload N/A key value N/A N/A N/A N/A self data_payload N/A key value N/A __delitem__ N/A N/A self key N/A N/A N/A N/A key N/A self DUPLICATE_KEYS N/A N/A N/A N/A self data_payload N/A key N/A N/A N/A self meta_payload N/A key N/A N/A N/A key N/A self METADATA_KEYS N/A N/A N/A N/A self meta_payload N/A key N/A N/A N/A N/A self data_payload N/A key N/A __iter__ N/A N/A self N/A N/A N/A item N/A self data_payload N/A N/A N/A item N/A item N/A self meta_payload N/A N/A N/A item N/A __len__ N/A N/A self N/A N/A N/A N/A N/A len N/A self data_payload N/A len N/A self meta_payload N/A emit N/A N/A self log config emitters continue_running merge_payloads N/A True N/A N/A 
        Send payloads via the emitters.

        :param merge_payloads: merge data and metadata payloads in a single payload and submit it
            to the common endpoint
        :type merge_payloads: boolean

         N/A statuses N/A _emit_payload N/A N/A payload endpoint N/A N/A N/A  Send the payload via the emitters.  N/A statuses N/A N/A emitter emitters N/A N/A N/A continue_running N/A N/A statuses N/A name N/A emitter __name__ N/A emitter_status N/A EmitterStatus name N/A N/A N/A N/A emitter payload log config endpoint N/A N/A N/A Exception N/A e N/A N/A N/A N/A log exception N/A Error running emitter: %s N/A emitter __name__ N/A emitter_status N/A EmitterStatus name e N/A N/A N/A statuses append emitter_status N/A statuses N/A N/A merge_payloads N/A N/A N/A N/A statuses extend N/A _emit_payload N/A self payload N/A self COMMON_ENDPOINT N/A N/A N/A N/A statuses extend N/A _emit_payload N/A self data_payload N/A self DATA_ENDPOINT N/A N/A N/A statuses extend N/A _emit_payload N/A self meta_payload N/A self METADATA_ENDPOINT N/A statuses N/A N/A Collector N/A object N/A N/A 
    The collector is responsible for collecting data from each check and
    passing it along to the emitters, who send it to their final destination.
     __init__ N/A N/A self agentConfig emitters systemStats hostname N/A N/A N/A N/A self emit_duration None N/A N/A self agentConfig agentConfig N/A N/A self hostname hostname N/A N/A N/A self agentConfig N/A system_stats systemStats N/A N/A self os N/A get_os N/A N/A self plugins None N/A N/A self emitters emitters N/A N/A self check_timings N/A N/A agentConfig get check_timings N/A N/A self push_times N/A host_metadata external_host_tags agent_checks dd_check_tags N/A start interval N/A N/A time time N/A int N/A N/A agentConfig get metadata_interval N/A N/A 4 60 60 N/A start interval N/A N/A N/A time time N/A 3 60 N/A int N/A N/A agentConfig get external_host_tags N/A 5 60 N/A start interval N/A N/A time time N/A int N/A N/A agentConfig get agent_checks_interval N/A 10 60 N/A start interval N/A N/A time time N/A int N/A N/A agentConfig get dd_check_tags_interval N/A 10 60 N/A N/A N/A socket setdefaulttimeout 15 N/A N/A self run_count 0 N/A N/A self continue_running True N/A N/A self hostname_metadata_cache None N/A N/A self initialized_checks_d N/A N/A N/A self init_failed_checks_d N/A N/A N/A self _unix_system_checks N/A io load memory processes cpu system N/A N/A u IO log N/A N/A u Load log N/A N/A u Memory log N/A N/A u Processes log N/A N/A u Cpu log N/A N/A u System log N/A N/A self _server_density_checks N/A identifier plugins N/A N/A yoshi Identifier log N/A N/A plugins Plugins log N/A N/A self _win32_system_checks N/A io proc memory network cpu N/A N/A w32 IO log N/A N/A w32 Processes log N/A N/A w32 Memory log N/A N/A w32 Network log N/A N/A w32 Cpu log N/A N/A self _ganglia N/A Ganglia log N/A N/A self _agent_metrics None N/A N/A self _metrics_checks N/A N/A module_spec N/A N/A N/A s strip N/A s N/A N/A N/A N/A N/A self agentConfig get custom_checks split , N/A N/A N/A N/A len module_spec 0 N/A N/A N/A N/A N/A N/A N/A N/A self _metrics_checks append N/A N/A N/A modules load module_spec Check log N/A N/A N/A log info N/A Registered custom check %s module_spec N/A N/A N/A log warning Old format custom checks are deprecated. They should be moved to the checks.d interface as old custom checks will be removed in a next version N/A N/A N/A Exception N/A e N/A N/A N/A N/A log exception N/A Unable to load custom check module %s module_spec N/A N/A self _resources_checks N/A N/A ResProcesses log N/A self agentConfig N/A stop N/A N/A self N/A N/A N/A 
        Tell the collector to stop at the next logical point.
         N/A N/A self continue_running False N/A check N/A self initialized_checks_d N/A N/A N/A N/A check stop N/A _stats_for_display N/A N/A raw_stats N/A N/A N/A N/A N/A pprint pformat raw_stats indent 4 N/A staticmethod run N/A N/A self checksd start_event N/A None True N/A N/A 
        Collect data from each check and submit their data.
         N/A timer N/A Timer N/A N/A N/A self os windows N/A N/A cpu_clock N/A N/A time clock N/A N/A self run_count 1 N/A N/A N/A log debug N/A Starting collection run #%s N/A self run_count N/A checksd N/A N/A N/A self initialized_checks_d N/A checksd N/A initialized_checks N/A N/A self init_failed_checks_d N/A checksd N/A init_failed_checks N/A payload N/A AgentPayload N/A N/A N/A self _agent_metrics N/A N/A check N/A self initialized_checks_d N/A N/A N/A N/A check name AGENT_METRICS_CHECK_NAME N/A N/A N/A self _agent_metrics check N/A N/A N/A N/A self initialized_checks_d remove check N/A N/A N/A N/A self _build_payload payload N/A metrics N/A payload N/A metrics N/A events N/A payload N/A events N/A service_checks N/A payload N/A service_checks N/A N/A N/A self os windows N/A N/A N/A N/A N/A N/A metrics extend N/A N/A N/A N/A self _win32_system_checks N/A memory check N/A self agentConfig N/A N/A N/A metrics extend N/A N/A N/A N/A self _win32_system_checks N/A cpu check N/A self agentConfig N/A N/A N/A metrics extend N/A N/A N/A N/A self _win32_system_checks N/A network check N/A self agentConfig N/A N/A N/A metrics extend N/A N/A N/A N/A self _win32_system_checks N/A io check N/A self agentConfig N/A N/A N/A metrics extend N/A N/A N/A N/A self _win32_system_checks N/A proc check N/A self agentConfig N/A N/A N/A Exception N/A N/A N/A N/A log exception Unable to fetch Windows system metrics. N/A N/A sd_checks N/A self _server_density_checks N/A identifier N/A N/A N/A sd_checks N/A identifier check N/A self agentConfig N/A N/A N/A payload update identifier N/A pluginsData N/A N/A N/A sd_checks N/A plugins check N/A self agentConfig N/A pluginsData N/A N/A N/A payload N/A plugins pluginsData N/A sys_checks N/A self _unix_system_checks N/A load N/A N/A N/A sys_checks N/A load check N/A self agentConfig N/A N/A N/A payload update load N/A system N/A N/A N/A sys_checks N/A system check N/A self agentConfig N/A N/A N/A payload update system N/A memory N/A N/A N/A sys_checks N/A memory check N/A self agentConfig N/A memory N/A N/A N/A N/A payload update N/A memPhysUsed memPhysPctUsable memPhysFree memPhysTotal memPhysUsable memSwapUsed memSwapFree memSwapPctFree memSwapTotal memCached memBuffers memShared N/A N/A memory get physUsed N/A N/A memory get physPctUsable N/A N/A memory get physFree N/A N/A memory get physTotal N/A N/A memory get physUsable N/A N/A memory get swapUsed N/A N/A memory get swapFree N/A N/A memory get swapPctFree N/A N/A memory get swapTotal N/A N/A memory get physCached N/A N/A memory get physBuffers N/A N/A memory get physShared N/A ioStats N/A N/A N/A sys_checks N/A io check N/A self agentConfig N/A ioStats N/A N/A N/A payload N/A ioStats ioStats N/A processes N/A N/A N/A sys_checks N/A processes check N/A self agentConfig N/A N/A N/A payload update N/A processes processes N/A cpuStats N/A N/A N/A sys_checks N/A cpu check N/A self agentConfig N/A cpuStats N/A N/A N/A N/A payload update cpuStats N/A gangliaData N/A N/A N/A self _ganglia check N/A self agentConfig N/A N/A N/A gangliaData False N/A gangliaData None N/A N/A N/A payload N/A ganglia gangliaData N/A N/A N/A self os windows N/A N/A has_resource False N/A resources_check N/A self _resources_checks N/A N/A N/A N/A resources_check check N/A snaps N/A N/A resources_check pop_snapshots N/A snaps N/A N/A has_resource True N/A res_value N/A snaps format_version snaps N/A N/A resources_check get_format_version N/A res_format N/A N/A resources_check describe_format_if_needed N/A N/A res_format None N/A N/A N/A res_value N/A format_description res_format N/A N/A N/A payload N/A resources N/A N/A resources_check RESOURCE_KEY res_value N/A has_resource N/A N/A N/A N/A payload N/A resources N/A meta N/A agent_key host N/A N/A self agentConfig N/A agent_key N/A payload N/A internalHostname N/A metrics_check N/A self _metrics_checks N/A N/A res N/A N/A metrics_check check N/A self agentConfig N/A res N/A N/A N/A N/A metrics extend res N/A check_statuses N/A N/A check N/A self initialized_checks_d N/A N/A N/A N/A self continue_running N/A N/A N/A N/A N/A log info N/A Running check %s N/A check name N/A instance_statuses N/A N/A metric_count 0 N/A event_count 0 N/A service_check_count 0 N/A check_start_time N/A N/A time time N/A check_stats None N/A N/A N/A instance_statuses N/A N/A check run N/A current_check_metrics N/A N/A check get_metrics N/A current_check_events N/A N/A check get_events N/A check_stats N/A N/A check _get_internal_profiling_stats N/A current_check_metadata N/A N/A check get_service_metadata N/A N/A N/A metrics extend current_check_metrics N/A current_check_events N/A N/A N/A N/A check name events N/A N/A N/A events N/A N/A check name current_check_events N/A N/A N/A events N/A N/A check name current_check_events N/A metric_count N/A len current_check_metrics N/A event_count N/A len current_check_events N/A N/A N/A Exception N/A N/A N/A N/A log exception N/A Error running check %s N/A check name N/A check_status N/A CheckStatus N/A check name instance_statuses metric_count event_count service_check_count service_metadata current_check_metadata library_versions N/A N/A check get_library_info source_type_name N/A N/A check SOURCE_TYPE_NAME N/A check name check_stats check_stats N/A service_check_tags N/A N/A check:%s N/A check name N/A N/A N/A check_status status STATUS_OK N/A N/A status N/A AgentCheck OK N/A N/A N/A N/A check_status status STATUS_ERROR N/A N/A status N/A AgentCheck CRITICAL N/A N/A N/A check service_check sd.agent.check_status status tags service_check_tags N/A current_check_service_checks N/A N/A check get_service_checks N/A current_check_service_checks N/A N/A N/A N/A service_checks extend current_check_service_checks N/A service_check_count N/A len current_check_service_checks N/A N/A check_status service_check_count service_check_count N/A N/A N/A check_statuses append check_status N/A check_run_time N/A N/A N/A time time check_start_time N/A N/A N/A log debug N/A Check %s ran in %.2f s N/A N/A check name check_run_time N/A N/A self check_timings N/A N/A metric sd.agent.check_run_time N/A meta N/A tags N/A N/A check:%s N/A check name N/A N/A N/A metrics append N/A metric N/A N/A time time check_run_time meta N/A N/A check_name info N/A N/A N/A self init_failed_checks_d iteritems N/A N/A N/A N/A self continue_running N/A N/A N/A check_status N/A CheckStatus check_name None None None None init_failed_error N/A info N/A error init_failed_traceback N/A info N/A traceback N/A N/A N/A check_statuses append check_status N/A N/A N/A service_checks append N/A create_service_check sd.agent.up N/A AgentCheck OK hostname N/A self hostname N/A N/A payload N/A metrics metrics N/A N/A payload N/A events events N/A N/A payload N/A service_checks service_checks N/A N/A N/A self _populate_payload_metadata payload check_statuses start_event N/A collect_duration N/A N/A timer step N/A N/A N/A self os windows N/A N/A N/A N/A self _agent_metrics None N/A N/A N/A N/A N/A self _agent_metrics set_metric_context payload N/A collection_time emit_time cpu_time collect_duration N/A self emit_duration N/A N/A N/A time clock cpu_clock N/A N/A N/A N/A self _agent_metrics run N/A agent_stats N/A N/A N/A self _agent_metrics get_metrics N/A N/A N/A N/A payload N/A metrics extend agent_stats N/A N/A N/A N/A self agentConfig get developer_mode False N/A N/A N/A N/A log info N/A N/A 
 AGENT STATS: 
 {0} format N/A N/A Collector _stats_for_display agent_stats N/A N/A N/A N/A self _agent_metrics None N/A N/A N/A N/A N/A self _agent_metrics set_metric_context payload N/A collection_time emit_time collect_duration N/A self emit_duration N/A N/A N/A N/A self _agent_metrics run N/A agent_stats N/A N/A N/A self _agent_metrics get_metrics N/A N/A N/A N/A payload N/A metrics extend agent_stats N/A N/A N/A N/A self agentConfig get developer_mode False N/A N/A N/A N/A log info N/A N/A 
 AGENT STATS: 
 {0} format N/A N/A Collector _stats_for_display agent_stats N/A emitter_statuses N/A N/A payload emit log N/A self agentConfig N/A self emitters N/A self continue_running N/A N/A self emit_duration N/A N/A timer step N/A N/A N/A N/A N/A N/A CollectorStatus check_statuses emitter_statuses N/A self hostname_metadata_cache persist N/A N/A N/A Exception N/A N/A N/A N/A log exception Error persisting collector status N/A N/A N/A N/A self run_count FLUSH_LOGGING_INITIAL N/A N/A N/A self run_count FLUSH_LOGGING_PERIOD 0 N/A N/A N/A N/A log info N/A Finished run #%s. Collection time: %ss. Emit time: %ss N/A N/A self run_count N/A round collect_duration 2 N/A round N/A self emit_duration 2 N/A N/A N/A self run_count FLUSH_LOGGING_INITIAL N/A N/A N/A N/A log info N/A First flushes done, next flushes will be logged every %s flushes. FLUSH_LOGGING_PERIOD N/A N/A N/A N/A log debug N/A Finished run #%s. Collection time: %ss. Emit time: %ss N/A N/A self run_count N/A round collect_duration 2 N/A round N/A self emit_duration 2 N/A payload N/A run_single_check N/A N/A check verbose N/A True N/A N/A N/A N/A log info N/A Running check %s N/A check name N/A instance_statuses N/A N/A metric_count 0 N/A event_count 0 N/A service_check_count 0 N/A check_start_time N/A N/A time time N/A check_stats None N/A N/A N/A instance_statuses N/A N/A check run N/A current_check_metrics N/A N/A check get_metrics N/A current_check_events N/A N/A check get_events N/A current_service_checks N/A N/A check get_service_checks N/A current_service_metadata N/A N/A check get_service_metadata N/A check_stats N/A N/A check _get_internal_profiling_stats N/A metric_count N/A len current_check_metrics N/A event_count N/A len current_check_events N/A service_check_count N/A len current_service_checks N/A N/A N/A Metrics: 
{0} format N/A N/A pprint pformat current_check_metrics N/A N/A N/A Events: 
{0} format N/A N/A pprint pformat current_check_events N/A N/A N/A Service Checks: 
{0} format N/A N/A pprint pformat current_service_checks N/A N/A N/A Service Metadata: 
{0} format N/A N/A pprint pformat current_service_metadata N/A N/A N/A Exception N/A N/A N/A N/A log exception N/A Error running check %s N/A check name N/A check_status N/A CheckStatus N/A check name instance_statuses metric_count event_count service_check_count library_versions N/A N/A check get_library_info source_type_name N/A N/A check SOURCE_TYPE_NAME N/A check name check_stats check_stats N/A check_status N/A staticmethod _emit N/A N/A self payload N/A N/A N/A  Send the payload via the emitters.  N/A statuses N/A N/A emitter N/A self emitters N/A N/A N/A N/A self continue_running N/A N/A statuses N/A name N/A emitter __name__ N/A emitter_status N/A EmitterStatus name N/A N/A N/A N/A emitter payload log N/A self agentConfig N/A N/A N/A Exception N/A e N/A N/A N/A N/A log exception N/A Error running emitter: %s N/A emitter __name__ N/A emitter_status N/A EmitterStatus name e N/A N/A N/A statuses append emitter_status N/A statuses N/A _is_first_run N/A N/A self N/A N/A N/A N/A N/A self run_count 1 N/A _build_payload N/A N/A self payload N/A N/A N/A 
        Build the payload skeleton, so it contains all of the generic payload data.
         N/A now N/A N/A time time N/A N/A payload N/A collection_timestamp now N/A N/A payload N/A os N/A self os N/A N/A payload N/A python N/A sys version N/A N/A payload N/A agentVersion N/A N/A self agentConfig N/A version N/A N/A payload N/A agentKey N/A N/A self agentConfig N/A agent_key N/A N/A payload N/A events N/A N/A N/A payload N/A metrics N/A N/A N/A payload N/A service_checks N/A N/A N/A payload N/A resources N/A N/A N/A payload N/A internalHostname N/A self hostname N/A N/A payload N/A uuid N/A get_uuid N/A N/A payload N/A host-tags N/A N/A N/A payload N/A external_host_tags N/A N/A _populate_payload_metadata N/A N/A self payload check_statuses start_event N/A True N/A N/A 
        Periodically populate the payload with metadata related to the system, host, and/or checks.
         N/A now N/A N/A time time N/A N/A start_event N/A N/A self _is_first_run N/A N/A N/A payload N/A systemStats N/A N/A N/A self agentConfig get system_stats N/A N/A N/A N/A payload N/A events N/A System N/A N/A agent_key host timestamp event_type msg_text N/A N/A self agentConfig N/A agent_key N/A payload N/A internalHostname now Agent Startup N/A Version %s N/A get_version N/A N/A N/A self _should_send_additional_data host_metadata N/A N/A N/A N/A N/A N/A get_os windows N/A N/A command gohai N/A N/A command gohai\gohai.exe N/A N/A gohai_metadata gohai_log N/A N/A N/A N/A subprocess Popen N/A command stdout N/A subprocess PIPE stderr N/A subprocess PIPE communicate N/A N/A payload N/A gohai gohai_metadata N/A gohai_log N/A N/A N/A N/A log warning N/A N/A GOHAI LOG | {0} format gohai_log N/A N/A N/A OSError N/A e N/A N/A N/A N/A e errno 2 N/A N/A N/A N/A log info gohai file not found N/A N/A e N/A N/A Exception N/A e N/A N/A N/A N/A log warning N/A gohai command failed with error %s N/A str e N/A N/A payload N/A systemStats N/A get_system_stats N/A N/A payload N/A meta N/A N/A self _get_hostname_metadata N/A N/A self hostname_metadata_cache N/A payload N/A meta N/A host_tags N/A N/A N/A N/A N/A self agentConfig N/A tags None N/A N/A N/A N/A host_tags extend N/A N/A unicode N/A N/A tag strip N/A tag N/A N/A N/A N/A self agentConfig N/A tags split , N/A N/A N/A self agentConfig N/A collect_ec2_tags N/A N/A N/A N/A host_tags extend N/A N/A EC2 get_tags N/A self agentConfig N/A host_tags N/A N/A N/A N/A payload N/A host-tags N/A system host_tags N/A GCE_tags N/A N/A GCE get_tags N/A self agentConfig N/A N/A GCE_tags None N/A N/A N/A N/A payload N/A host-tags N/A N/A GCE SOURCE_TYPE_NAME GCE_tags N/A N/A N/A self _is_first_run N/A N/A N/A N/A log info N/A Hostnames: %s, tags: %s N/A N/A repr N/A self hostname_metadata_cache N/A payload N/A host-tags N/A external_host_tags N/A N/A N/A N/A self _should_send_additional_data external_host_tags N/A N/A check N/A self initialized_checks_d N/A N/A N/A N/A getter N/A getattr check get_external_host_tags N/A check_tags N/A getter N/A N/A N/A external_host_tags extend check_tags N/A N/A N/A AttributeError N/A N/A N/A external_host_tags N/A N/A N/A payload N/A external_host_tags external_host_tags N/A N/A N/A self _should_send_additional_data agent_checks N/A N/A agent_checks N/A N/A check check_statuses N/A N/A N/A N/A check instance_statuses None N/A N/A N/A i instance_status N/A enumerate N/A check instance_statuses N/A N/A N/A N/A agent_checks append N/A N/A check name N/A check source_type_name N/A instance_status instance_id N/A instance_status status N/A N/A instance_status error N/A instance_status warnings N/A N/A check service_metadata N/A i N/A N/A N/A N/A agent_checks append N/A N/A check name N/A check source_type_name initialization N/A check status N/A repr N/A check init_failed_error N/A N/A payload N/A agent_checks agent_checks N/A N/A payload N/A meta N/A self hostname_metadata_cache N/A N/A N/A N/A self agentConfig N/A create_dd_check_tags N/A N/A self _should_send_additional_data dd_check_tags N/A N/A app_tags_list N/A N/A N/A DD_CHECK_TAG format N/A c name N/A c N/A self initialized_checks_d N/A N/A N/A app_tags_list extend N/A N/A N/A DD_CHECK_TAG format cname N/A cname N/A N/A JMXFiles get_jmx_appnames N/A N/A system N/A payload N/A host-tags N/A N/A N/A N/A payload N/A host-tags N/A system N/A N/A N/A N/A N/A N/A payload N/A host-tags N/A system extend app_tags_list N/A _get_hostname_metadata N/A N/A self N/A N/A N/A 
        Returns a dictionnary that contains hostname metadata.
         N/A metadata N/A N/A EC2 get_metadata N/A self agentConfig N/A N/A N/A metadata get hostname N/A N/A N/A metadata N/A ec2-hostname N/A N/A metadata get hostname N/A N/A metadata N/A hostname N/A N/A N/A N/A self agentConfig get hostname N/A N/A N/A metadata N/A agent-hostname N/A N/A N/A self agentConfig get hostname N/A N/A N/A N/A N/A metadata N/A socket-hostname N/A N/A socket gethostname N/A N/A N/A Exception N/A N/A N/A N/A N/A N/A metadata N/A socket-fqdn N/A N/A socket getfqdn N/A N/A N/A Exception N/A N/A N/A N/A metadata N/A hostname N/A get_hostname N/A host_aliases N/A N/A GCE get_host_aliases N/A self agentConfig N/A host_aliases N/A N/A N/A metadata N/A host_aliases host_aliases N/A metadata N/A _should_send_additional_data N/A N/A self data_name N/A N/A N/A N/A N/A self _is_first_run N/A N/A True N/A now N/A N/A time time N/A N/A N/A now N/A N/A N/A self push_times N/A data_name N/A start N/A N/A N/A self push_times N/A data_name N/A interval N/A N/A N/A N/A log debug N/A %s interval has passed. Sending it. data_name N/A N/A N/A N/A self push_times N/A data_name N/A start now N/A True N/A False N/A N/A