-
Notifications
You must be signed in to change notification settings - Fork 32
Changelog
Lev Khomich edited this page Jul 18, 2016
·
4 revisions
New features:
- Akka HTTP support
- Spray client support
- automatic tracing context propagation for messages serialized by Akka facilities
- support for custom context propagation via tracing metadata API calls
-
trace.flush
call forcing the extension to submit a span -
trace.sampleClient
call to initiate traces from client side
Improvements:
- greatly improved test coverage
- better interoperability with Brave
- span processing pipeline implementation now uses akka-stream underneath
- backpressure implementation for thrift transport
- black lists for automatically tracked HTTP headers
- mutable fields were removed from
TracingSupport
- spray integration: reject requests with broken tracing headers
API changes:
-
trace.forcedSample
was deprecated, usetrace.sample(force = true)
instead -
child.asChildOf(parent)
was deprecated, usetrace.createChild(parent, child)
instead -
trace.finish
was deprecated, usetrace.record(ts, TracingAnnotations.ServerSend)
instead
New features
- Play framework support (and activator template to demonstrate it);
- tracing flags support;
-
akka.pattern.ask
wrapper to simplify ask tracing; - collector unavailability handling preventing excessive memory usage.
Improvements
- reusable thrift transport to reduce GC overhead;
- better interoperation with spray-json formats;
- improved test coverage;
- improved error handling and reporting;
- now extension doesn't produce any (internal messaging) overhead if disabled;
- improved automated http request annotating in Play and Spray integration modules;
- bug fixes.
API changes
- new method
trace.forcedSample
which allows to sample message independently of sampling rate; - new method
trace.finish(msg)
which can be used to explicitly finish trace (for example, in cases when you have no response to be marked by.asResponseTo
); -
trace.setSampleRate
was removed, you still can use config to set sample rate; -
unmarshallerWithTracingSupport
was removed from Spray integration module; -
trace.sample(msg, service, spanName)
was deprecated, usetrace.sample(msg, service)
and overridemsg.spanName
instead.
New features
- activator template with tutorial and zipkin install automation;
- Scala 2.11 support;
- spray-routing integration.
Improvements
- reduced memory footprint and GC overhead;
- performance improvements (up to 20%);
- collector connectivity issues handling;
- bug fixes.
API changes
-
trace.sample(msg); trace.recordRPCName(msg, service, rpc)
replaced bytrace.sample(msg, service, rpc)
; -
trace.recordException
renamed totrace.record
- tracing performance improvements;
- improved span timestamp precision (up to microseconds);
- complete support for Java-only projects;
- better handling for actor system shutdown;
- complete developer docs.
- tracing extension itself (supports both Scala and Java APIs);
- trace logging support;
- Scala and Java examples.