Sha256: bf17ceb6a93b7dd2ab50fb5f50f00efcc131443626dbbd8c597bccf5dd219b66

Contents?: true

Size: 194 Bytes

Versions: 40

Compression:

Stored size: 194 Bytes

Contents

require 'socket'

module Datadog
  module Runtime
    # For runtime identity
    module Socket
      module_function

      def hostname
        ::Socket.gethostname
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
ddtrace-0.50.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.49.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.48.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.47.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.46.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.45.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.44.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.43.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.42.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.41.0 lib/ddtrace/runtime/socket.rb
ls-trace-0.2.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.40.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.39.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.38.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.37.0 lib/ddtrace/runtime/socket.rb
ddtrace-0.36.0 lib/ddtrace/runtime/socket.rb
ls-trace-0.1.2 lib/ddtrace/runtime/socket.rb
ddtrace-0.35.2 lib/ddtrace/runtime/socket.rb
ddtrace-0.35.1 lib/ddtrace/runtime/socket.rb
ddtrace-0.35.0 lib/ddtrace/runtime/socket.rb