Khattab
02/20/2025, 8:49 PMbuilder.Services.AddOpenTelemetry().UseAzureMonitor()
The issue is with the app inights Serilog Sink I am loosing a lot of telemetry and I have my whole setup built arounf OTEL standards and OTEL exporters, which Azure monitor provides, and with Serilog I think it kills all exporters,
On my custom dotnet application I used Serilog flag writeToProviders
so I'd have both logger in action, but for Umbraco I do not know what is the best way to do so
services.AddSerilog((loggerConfiguration) =>
{
loggerConfiguration.MinimalConfiguration(configuration)
.ReadFrom.Configuration(configuration);
}, writeToProviders: true);
Khattab
02/25/2025, 10:43 PM