You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@davidfowl your code works for me
What I think is a problem that you don't need builder.Logging.AddOpenTelemetry();
if you do builder.Services.AddOpenTelemetry().UseOtlpExporter(); since it enables the logging.
I have created an issue here because I want to use serilog as provider but seeing duplicated logs in my otel
The following code exports logs, dotnet 8.0.300, OTEL 1.8.1
using OpenTelemetry;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddOpenTelemetry().UseOtlpExporter();
var app = builder.Build();
app.MapGet("/", () => "Hello World!");
app.Run();
cc @CodeBlanch
The text was updated successfully, but these errors were encountered: