Propagates trace information through pub/sub pattern
Inspired by this project
Ensure that
GlobalTracer
is initialized
Just add UseOpenTracing()
:
public void ConfigureServices(IServiceCollection services)
{
services.AddSilverback()
.UseOpenTracing();;
}
This will add two behaviors ConsumerTracingBehavior
and ProducerTracingBehavior
.
See examples/OpenTracing.Example
for full setup
Enjoy ;)