Sha256: 825519c272b292aaf9b2802f4d5b756ef3b51d638cdbfb06e1d020ef945e7c5a

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

$LOAD_PATH.push(File.dirname(__FILE__) + '/../../thrift/gen-rb')

require 'opentracing'

require_relative 'client/tracer'
require_relative 'client/span'
require_relative 'client/span_context'
require_relative 'client/carrier'
require_relative 'client/trace_id'
require_relative 'client/udp_sender'

module Jaeger
  module Client
    def self.build(host: '127.0.0.1', port: 6831, service_name:)
      client = UdpSender.new(service_name, host, port)
      Tracer.new(client, service_name)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jaeger-client-0.1.0 lib/jaeger/client.rb