Execution Context

opencensus.trace.execution_context.clear()[source]

Clear the context, used in test.

opencensus.trace.execution_context.get_opencensus_tracer()[source]

Get the opencensus tracer from runtime context.

opencensus.trace.execution_context.set_opencensus_tracer(tracer)[source]

Add the tracer to runtime context.