Sha256: 103f811cdb98f3243062eb058f55b0784b0d87a27d26a857f5f267a4f269acbf
Contents?: true
Size: 809 Bytes
Versions: 5
Compression:
Stored size: 809 Bytes
Contents
require 'ddtrace/profiling/transport/io/client' require 'ddtrace/profiling/encoding/profile' module Datadog module Profiling module Transport # Namespace for profiling IO transport components module IO module_function # Builds a new Profiling::Transport::IO::Client def new(out, encoder, options = {}) Client.new(out, encoder, options) end # Builds a new Profiling::Transport::IO::Client with default settings # Pass options to override any settings. def default(options = {}) options = options.dup new( options.delete(:out) || $stdout, options.delete(:encoder) || Profiling::Encoding::Profile::Protobuf, options ) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems