Skip to content

Commit

Permalink
more debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Dec 3, 2024
1 parent e843ba5 commit d3adbe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/datadog/ci/transport/event_platform_transport.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def send_events(events)
p "ENCODED EVENTS SIZE #{encoded_events.size}"
Datadog::Core::Chunker.chunk_by_size(encoded_events, max_payload_size).map do |chunk|
encoded_payload = pack_events(chunk)
p "CHUNK ENCODED PAYLOAD SIZE #{encoded_payload.size}"
Datadog.logger.debug do
"[#{self.class.name}] Send chunk of #{chunk.count} events; payload size #{encoded_payload.size}"
end
Expand Down

0 comments on commit d3adbe0

Please sign in to comment.