Skip to content

Commit

Permalink
add back missing totalTracesDropped
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahkm committed Oct 16, 2024
1 parent 3e25a4c commit 0ec1010
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ddtrace/tracer/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ type tracer struct {
// wg waits for all goroutines to exit when stopping.
wg sync.WaitGroup

// Keeps track of the total number of traces dropped for accurate logging.
totalTracesDropped uint32

logDroppedTraces *time.Ticker

// prioritySampling holds an instance of the priority sampler.
prioritySampling *prioritySampler

Expand Down

0 comments on commit 0ec1010

Please sign in to comment.