Skip to content

Commit

Permalink
Merge pull request #583 from gaborszakacs/patch-1
Browse files Browse the repository at this point in the history
Fix app type configuration of RestClient
  • Loading branch information
delner committed Oct 30, 2018
2 parents b69dca3 + 1f7bab0 commit d91575f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ddtrace/contrib/rest_client/configuration/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Configuration
class Settings < Contrib::Configuration::Settings
option :distributed_tracing, default: false
option :service_name, default: Ext::SERVICE_NAME, depends_on: [:tracer] do |value|
get_option(:tracer).set_service_info(value, Ext::APP, Datadog::Ext::AppTypes::DB)
get_option(:tracer).set_service_info(value, Ext::APP, Datadog::Ext::AppTypes::WEB)
value
end
end
Expand Down

0 comments on commit d91575f

Please sign in to comment.