Skip to content

Commit

Permalink
Report "compressed spans" as dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasstadler committed Feb 21, 2022
1 parent 891dc23 commit 65809ef
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ protected void afterEnd() {
this.tracer.endSpan(buffered);
}
} else {
Transaction transaction = getTransaction();
if (transaction != null) {
transaction.getSpanCount().getDropped().incrementAndGet();
}
decrementReferences();
}
} else {
Expand Down

0 comments on commit 65809ef

Please sign in to comment.