module Datadog::Tracing::Utils

def self.next_id

This method is thread-safe and fork-safe.
Return a randomly generated integer, valid as a Span ID or Trace ID.
def self.next_id
  after_fork! { reset! }
  id_rng.rand(RUBY_ID_RANGE)
end