lib/datadog/tracing/contrib/integration.rb in ddtrace-1.0.0.beta1 vs lib/datadog/tracing/contrib/integration.rb in ddtrace-1.0.0.beta2
- old
+ new
@@ -1,6 +1,7 @@
# typed: true
+
require 'datadog/tracing/contrib/configurable'
require 'datadog/tracing/contrib/patchable'
require 'datadog/tracing/contrib/registerable'
module Datadog
@@ -47,10 +48,10 @@
#
# module Instrumentation
# def api_request!(env)
# Tracing.trace('billing.request',
# type: 'http',
- # service: Datadog.configuration[:billing_api][:service]) do |span|
+ # service: Datadog.configuration.tracing[:billing_api][:service]) do |span|
# span.resource = env[:route].to_s
# span.set_tag('client_id', env[:client][:id])
#
# super
# end