Sha256: a35e1a5cad2d6696153d23af1051b277f46341b0329535e748347a6e84d33cd3
Contents?: true
Size: 486 Bytes
Versions: 32
Compression:
Stored size: 486 Bytes
Contents
# frozen_string_literal: true module Datadog module Tracing module Contrib # Contains methods helpful for tracing/annotating HTTP request libraries module HttpAnnotationHelper def service_name(hostname, configuration_options, pin = nil) return hostname if configuration_options[:split_by_domain] return pin[:service_name] if pin && pin[:service_name] configuration_options[:service_name] end end end end end
Version data entries
32 entries across 32 versions & 2 rubygems