Method: Sentry::Scope#generate_propagation_context

Defined in:
lib/sentry/scope.rb

#generate_propagation_context(env = nil) ⇒ void

This method returns an undefined value.

Generate a new propagation context either from the incoming env headers or from scratch.

Parameters:

  • env (Hash, nil) (defaults to: nil)


332
333
334
# File 'lib/sentry/scope.rb', line 332

def generate_propagation_context(env = nil)
  @propagation_context = PropagationContext.new(self, env)
end