Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr Num BinOpSub BinOpPow Num Num Num decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareEq TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body For NameStore NameLoad body If BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad Return BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareEq TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareEq TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpMult BinOpMult Call AttributeLoad NameLoad attr Num Num Return Call NameLoad NameLoad NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad Str decorator_list NameLoad decorator_list
N/A N/A math N/A time N/A random zope.interface implements tryfer.interfaces ITrace IAnnotation IEndpoint tryfer.tracers get_tracers tryfer._thrift.zipkinCore constants _uniq_id N/A N/A N/A N/A N/A 
    Create a random 64-bit signed integer appropriate
    for use as trace and span IDs.

    XXX: By experimentation zipkin has trouble recording traces with ids
    larger than (2 ** 56) - 1

    @returns C{int}
     N/A N/A N/A random randint 0 N/A N/A 2 56 1 N/A Trace N/A object N/A N/A 
    An L{ITrace} provider which delegates to zero or more L{ITracers} and
    allows setting a default L{IEndpoint} to associate with L{IAnnotation}s

    @ivar _tracers: C{list} of one or more L{ITracer} providers.
    @ivar _endpoint: An L{IEndpoint} provider.
     N/A N/A implements ITrace __init__ N/A N/A self name trace_id span_id parent_span_id tracers N/A None None None None N/A N/A 
        @param name: C{str} describing the current span.
        @param trace_id: C{int} or C{None}
        @param span_id: C{int} or C{None}
        @param parent_span_id: C{int} or C{None}

        @param tracers: C{list} of L{ITracer} providers, primarily useful
            for unit testing.
         N/A N/A self name name N/A N/A self trace_id N/A trace_id N/A _uniq_id N/A N/A self span_id N/A span_id N/A _uniq_id N/A N/A self parent_span_id parent_span_id N/A N/A self _tracers N/A tracers N/A get_tracers N/A N/A self _endpoint None N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A N/A ITrace providedBy other N/A N/A N/A self trace_id N/A self span_id N/A self parent_span_id N/A N/A other trace_id N/A other span_id N/A other parent_span_id N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A self other N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A {0.__class__.__name__}({0.name!r}, trace_id={0.trace_id!r}, span_id={0.span_id!r}, parent_span_id={0.parent_span_id!r}) format self N/A child N/A N/A self name N/A N/A N/A 
        Create a new instance of this class derived from the current instance
        such that:

            (new.trace_id == current.trace_id and
             new.parent_span_id == current.span_id)

        The new L{Trace} instance will have a new unique span_id and if set the
        endpoint of the current L{Trace} object.

        @param name: C{str} name describing the new span represented by the new
            Trace object.

        @returns: L{Trace}
         N/A trace N/A N/A self __class__ name trace_id N/A self trace_id parent_span_id N/A self span_id N/A N/A N/A trace set_endpoint N/A self _endpoint N/A trace N/A record N/A N/A self N/A annotations N/A N/A annotation annotations N/A N/A N/A N/A N/A annotation endpoint None N/A N/A self _endpoint None N/A N/A N/A annotation endpoint N/A self _endpoint N/A tracer N/A self _tracers N/A N/A N/A N/A tracer record N/A N/A self annotations N/A set_endpoint N/A N/A self endpoint N/A N/A N/A 
        Set a default L{IEndpoint} provider for the current L{Trace}.
        All annotations recorded after this endpoint is set will use it,
        unless they provide their own endpoint.
         N/A N/A self _endpoint endpoint N/A N/A Endpoint N/A object N/A N/A N/A implements IEndpoint __init__ N/A N/A self ipv4 port service_name N/A N/A N/A 
        @param ipv4: C{str} ipv4 address.
        @param port: C{int} port number.
        @param service_name: C{str} service name.
         N/A N/A self ipv4 ipv4 N/A N/A self port port N/A N/A self service_name service_name N/A __eq__ N/A N/A self other N/A N/A N/A N/A other None N/A N/A False N/A N/A N/A N/A IEndpoint providedBy other N/A N/A N/A self ipv4 N/A self port N/A self service_name N/A N/A other ipv4 N/A other port N/A other service_name N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A self other N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A {0.__class__.__name__}({0.ipv4!r}, {0.port!r}, {0.service_name!r}) format self N/A N/A Annotation N/A object N/A N/A N/A implements IAnnotation __init__ N/A N/A self name value annotation_type endpoint N/A None N/A N/A 
        @param name: C{str} name of this annotation.

        @param value: A value of the appropriate type based on
            C{annotation_type}.

        @param annotation_type: C{str} the expected type of our C{value}.

        @param endpoint: An optional L{IEndpoint} provider to associate with
            this annotation or C{None}
         N/A N/A self name name N/A N/A self value value N/A N/A self annotation_type annotation_type N/A N/A self endpoint endpoint N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A N/A IAnnotation providedBy other N/A N/A N/A self name N/A self value N/A self annotation_type N/A self endpoint N/A N/A other name N/A other value N/A other annotation_type N/A other endpoint N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A self other N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A {0.__class__.__name__}({0.name!r}, {0.value!r}, {0.annotation_type!r}, {0.endpoint}) format self N/A timestamp N/A N/A cls name timestamp N/A None N/A N/A N/A timestamp None N/A N/A timestamp N/A N/A math trunc N/A N/A N/A N/A time time 1000 1000 N/A N/A cls name timestamp timestamp N/A classmethod client_send N/A N/A cls timestamp N/A None N/A N/A N/A N/A cls timestamp N/A constants CLIENT_SEND timestamp N/A classmethod client_recv N/A N/A cls timestamp N/A None N/A N/A N/A N/A cls timestamp N/A constants CLIENT_RECV timestamp N/A classmethod server_send N/A N/A cls timestamp N/A None N/A N/A N/A N/A cls timestamp N/A constants SERVER_SEND timestamp N/A classmethod server_recv N/A N/A cls timestamp N/A None N/A N/A N/A N/A cls timestamp N/A constants SERVER_RECV timestamp N/A classmethod string N/A N/A cls name value N/A N/A N/A N/A cls name value string N/A classmethod bytes N/A N/A cls name value N/A N/A N/A N/A cls name value bytes N/A classmethod N/A