Removed option for logging time required to instrument code
Tracer now logs the process id, hostname per span
span now has a flush method + sign to say when its been flushed.
Tracer comes with an in_progress sign that gets flipped on when
its started and turned off when its stopped
Moved flush from span to trace. When a trace is flushed, all tracer
bits should be flushed out all with the current_span bits
Only initialize tracer bits if it needs to run
Refactored runner to take in an array of args rather than opts,
also initializes and checks other values only if the enabled flag
is switched on
Implemented builder pattern on tracer. A config class
takes the opts params, initializes dependencies and passes them
to the tracer class.
* Also created sinks depending on wether the trace output needs
to be logged or posted via HTTP
* also creating an error log to log exceptions