lightstep / lightstep-tracer-go

The Lightstep distributed tracing library for Go
https://lightstep.com
MIT License
98 stars 54 forks source link

Add flush duration to status report struct #242

Closed stephen closed 4 years ago

stephen commented 4 years ago

The flush duration is the amount of time it took for the tracer to pack up the records, send them over the network, and rotate buffers. Seeing this measurement is helpful for tuning the min reporting period for the tracer.

Because the reporter loop is serial, this is the minimum time between flushes that the tracer could do. Add a test that this value is measured.

andrewcheelightstep commented 4 years ago

@bg451 Can you review this?