Skip to content
Brian Lehnen edited this page Jun 2, 2019 · 2 revisions

Tracing

Tracing is provided by OpenTracing

######Usage

You will need to inject your implementation into the queue for tracing to be enabled

Example using opening tracing jeager implementation

var loggerFactory = new LoggerFactory();

var configuration = new ConfigurationBuilder()
	.AddJsonFile("tracesettings.json")
    .Build()
    .GetSection("Jaeger");

var tracer = Configuration.FromIConfiguration(loggerFactory, configuration).GetTracer();
container.RegisterNonScopedSingleton(tracer);

See Sample

Clone this wiki locally