How to Setup OpenTelemetry Logging in .NET

preview_player
Показать описание
You’ve discovered that OpenTelemetry can send logs as well as traces but you’re not sure how set this up? This OpenTelemetry tutorial will guide you through how to setup a .NET Application to include log exports and do basic processing. All your logs and traces will be linked automatically.

😁 Connect With Me 😁
________________________________

📖 Chapters 📖
__________________

0:00 - Logging with OpenTelemetry C#
0:14 - Project Setup - Cloud logging
0:50 - Configure OpenTelemetry Logging .Net
1:30 - Configure OpenTelemetry Log Levels
2:22 - Configure Open Telemetry Processor for Logging in .NET

#CodeWithStu #dotnet #OpenTelemetry
Рекомендации по теме
Комментарии
Автор

Hi,
Thanks for this video.
What is the advantage of logging with OTel compared to using serilog with all of its enrichs?

mehdihadeli
Автор

Thanks, how can we write OTel logs into an external file?

pietart
Автор

Thanks for the video, really helpful. This is probably a stupid question, but could you tell me how you export to the OTel collector rather than the console please? I have a test application that already exports traces and metrics to the collector, just not sure about the logs, as the setup seems different, thanks.

gnxejix
join shbcf.ru