Networking telemetry in .NET
The .NET networking stack is instrumented at various layers. .NET gives you the option to collect accurate timings throughout the lifetime of an HTTP request using metrics, event counters, and events.
- Networking metrics: Starting with .NET 8, the HTTP and the name resolution (DNS) components are instrumented using the modern System.Diagnostics.Metrics API. These metrics were designed in cooperation with OpenTelemetry.
- Networking events: Events provide debug and trace information with accurate timestamps.
- Networking event counters: All networking components are instrumented to publish real-time performance metrics using the EventCounters API.
Tip
If you're looking for information on tracking HTTP operations across different services, see the distributed tracing documentation.
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про