Sha256: ff0aad3bdad251b49082b99257ecfac97d005b1dc5b13181c8d09bf8491cdd56

Contents?: true

Size: 337 Bytes

Versions: 5

Compression:

Stored size: 337 Bytes

Contents

# typed: true
module Datadog
  module Contrib
    # Contains methods helpful for tracing/annotating HTTP request libraries
    module HttpAnnotationHelper
      def service_name(hostname, configuration_options)
        configuration_options[:split_by_domain] ? hostname : configuration_options[:service_name]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ddtrace-0.54.2 lib/ddtrace/contrib/http_annotation_helper.rb
ddtrace-0.54.1 lib/ddtrace/contrib/http_annotation_helper.rb
ddtrace-0.54.0 lib/ddtrace/contrib/http_annotation_helper.rb
ddtrace-0.53.0 lib/ddtrace/contrib/http_annotation_helper.rb
ddtrace-0.52.0 lib/ddtrace/contrib/http_annotation_helper.rb