Method: Stackdriver::Core::TraceContext.set
- Defined in:
- lib/stackdriver/core/trace_context.rb
.set(trace_context) ⇒ TraceContext?
Set the current thread's trace context, and returns the context.
304 305 306 307 |
# File 'lib/stackdriver/core/trace_context.rb', line 304 def self.set trace_context Thread.current[THREAD_KEY] = trace_context trace_context end |