Method: OpenCensus::Stats.recorder_context=
- Defined in:
- lib/opencensus/stats.rb
.recorder_context=(context) ⇒ Object
Sets the current thread-local Recorder, which governs the behavior of the recorder creation methods of OpenCensus::Stats::Recorder.
45 46 47 |
# File 'lib/opencensus/stats.rb', line 45 def recorder_context= context OpenCensus::Context.set RECORDER_CONTEXT_KEY, context end |