Sha256: b9086e203565c794a686960efc1bf5dbf8ce63832c630ce4bfd4b32d8a97890c

Contents?: true

Size: 153 Bytes

Versions: 12

Compression:

Stored size: 153 Bytes

Contents

module Datadog
  # TODO[manu]: write docs
  module Utils
    # Return a span id
    def self.next_id
      rand(Datadog::Span::MAX_ID)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ddtrace-0.7.2 lib/ddtrace/utils.rb
ddtrace-0.7.1 lib/ddtrace/utils.rb
ddtrace-0.7.0 lib/ddtrace/utils.rb
ddtrace-0.6.2 lib/ddtrace/utils.rb
ddtrace-0.6.1 lib/ddtrace/utils.rb
ddtrace-0.6.0 lib/ddtrace/utils.rb
ddtrace-0.5.0 lib/ddtrace/utils.rb
ddtrace-0.4.3 lib/ddtrace/utils.rb
ddtrace-0.4.2 lib/ddtrace/utils.rb
ddtrace-0.4.1 lib/ddtrace/utils.rb
ddtrace-0.4.0 lib/ddtrace/utils.rb
ddtrace-0.3.1 lib/ddtrace/utils.rb