Modern Distributed Tracing in .NET by Liudmila Molkova
Author:Liudmila Molkova
Language: eng
Format: epub, pdf
Publisher: Packt Publishing Pvt Ltd
Published: 2023-06-22T00:00:00+00:00
Questions
Letâs say you want to track the number of meme downloads (from our meme sample applications). Which telemetry signals would you choose? Why?
When reporting HTTP request duration, would you report it as a span, metric, or both?
How would you monitor the number of active application instances and the uptime?
8
Writing Structured and Correlated Logs
Distributed tracing is a great tool to describe and correlate operations, but sometimes, we need to record things such as callbacks and startup configurations, or conditionally write debug information. In this chapter, weâre going to explore logs â the oldest and most popular telemetry signal that can describe anything.
First, weâll talk about logging use cases and discover different APIs available in .NET, and then weâll focus on ILogger â a common logging façade. Weâll learn how to use it efficiently to write structured events. Weâll see how to export logs with OpenTelemetry and write rich queries over them. Finally, weâll explore log sampling and cost-saving strategies.
In this chapter, youâll learn the following:
When to write logs and which .NET API to use
How to write logs with the Microsoft.Extentions.Logging.ILogger class
How to capture and export logs with OpenTelemetry
Cost-management strategies with the OpenTelemetry Collector
Download
Modern Distributed Tracing in .NET by Liudmila Molkova.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
NET | C & C++ Windows Programming |
SQL Server | VBA |
Visual Basic |
Deep Learning with Python by François Chollet(12577)
Hello! Python by Anthony Briggs(9916)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9796)
The Mikado Method by Ola Ellnestam Daniel Brolund(9779)
Dependency Injection in .NET by Mark Seemann(9340)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8301)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7763)
Grails in Action by Glen Smith Peter Ledbrook(7697)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7091)
Microservices with Go by Alexander Shuiskov(6859)
Practical Design Patterns for Java Developers by Miroslav Wengner(6777)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6718)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6419)
Angular Projects - Third Edition by Aristeidis Bampakos(6129)
The Art of Crafting User Stories by The Art of Crafting User Stories(5652)
NetSuite for Consultants - Second Edition by Peter Ries(5586)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5392)
Kotlin in Action by Dmitry Jemerov(5066)
