Telemetry
Configuring Open Telemetry
//The name of the service
const myServiceName = "ProducerService"
var jaegerEndpoint = new Uri("http://localhost:9411/api/v2/spans");
using var tracerProvider =
Sdk.CreateTracerProviderBuilder()
.SetResourceBuilder(ResourceBuilder.CreateDefault().AddService(myServiceName))
.AddSource("Paramore.*", "Microsoft.*")
.AddJaegerExporter(o =>
{
o.Endpoint = jaegerEndpoint;
})
.Build();Activity Sources
Reported Events
Event
Description
Last updated
Was this helpful?

