lib/elastic_apm/transport/serializers/context_serializer.rb in elastic-apm-3.2.0 vs lib/elastic_apm/transport/serializers/context_serializer.rb in elastic-apm-3.3.0
- old
+ new
@@ -18,11 +18,10 @@
}
end
private
- # rubocop:disable Metrics/MethodLength
def build_request(request)
return unless request
{
body: request.body,
@@ -33,10 +32,9 @@
method: keyword_field(request.method),
socket: build_socket(request.socket),
url: build_url(request.url)
}
end
- # rubocop:enable Metrics/MethodLength
def build_response(response)
return unless response
{