instana / ruby-sensor

💎 Ruby Distributed Tracing & Metrics Sensor for Instana
https://www.instana.com/
MIT License
26 stars 25 forks source link

Tracing: Faster initial trace collection #163

Closed pglombardo closed 5 years ago

pglombardo commented 5 years ago

At process boot, we usually wait for :ready state of the announce cycle to beging tracing. This can take a few seconds and for command line execution, this can cause for some initial traces to be missed.

This PR changes this requirement to allow tracing after we've successfully announced to the Instana host agent but are pending :ready state so that traces are allowed to be collected much earlier in the boot process.