Skip to content

Commit 8d81f30

Browse files
Implement simplified Antithesis assertions for trace loss tracking
- Add assertions to CoreTracer.write() to track sampling decisions - Add assertions to RemoteWriter.write() to track buffer drops - Add assertions to PayloadDispatcherImpl.accept() to track send success/failure This provides clear tracking of: - trace_accepted_by_sampling: Traces that passed sampling - trace_dropped_by_sampling: Traces dropped by sampling - trace_enqueued_for_send: Traces accepted into buffer - trace_dropped_buffer_overflow: Traces dropped due to full buffer - trace_dropped_by_policy: Traces dropped by policy - trace_dropped_writer_closed: Traces dropped during shutdown - trace_payloads_being_sent: All send attempts - traces_sent_successfully: Traces successfully sent to agent - traces_failed_to_send: Traces that failed HTTP send
1 parent a829474 commit 8d81f30

17 files changed

+3086
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ replay_pid*
6666
!dd-java-agent/benchmark/releases/*.jar
6767
**/errors/*.log
6868

69+
# Fuzz testing logs #
70+
fuzz-logs/
71+
6972
# Magic for local JMC built
7073
/vendor/jmc-libs
7174

0 commit comments

Comments
 (0)