lib/ddtrace/contrib/active_model_serializers/patcher.rb in ddtrace-0.22.0 vs lib/ddtrace/contrib/active_model_serializers/patcher.rb in ddtrace-0.23.0
- old
+ new
@@ -19,16 +19,9 @@
def patch
do_once(:active_model_serializers) do
begin
# Subscribe to ActiveModelSerializers events
Events.subscribe!
-
- # Set service info
- get_option(:tracer).set_service_info(
- get_option(:service_name),
- Ext::APP,
- Datadog::Ext::AppTypes::WEB
- )
rescue StandardError => e
Datadog::Tracer.log.error("Unable to apply ActiveModelSerializers integration: #{e}")
end
end
end