Home / Companies / Honeycomb / Blog / Post Details
Content Deep Dive

Does OpenTelemetry in .NET Cause Performance Degradation?

Blog post from Honeycomb

Post Details
Company
Date Published
Author
Martin Thwaites
Word Count
1,667
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

OpenTelemetry in .NET does lead to performance degradation, but the impact is negligible, particularly in the context of standard .NET applications. The article addresses common concerns about OpenTelemetry's effect on performance and provides evidence to show that the overhead introduced by instrumenting with Activity, adding attributes, and using OpenTelemetry SDKs is minimal, often measured in nanoseconds. The tests conducted demonstrate that while there is a slight increase in latency, such as 16 nanoseconds for adding an Activity and 470 nanoseconds when a TracerProvider listens to the response, these increments are trivial compared to the benefits of enhanced observability and debugging capabilities. Additionally, the use of custom processors in OpenTelemetry can introduce some performance impact, but with careful implementation, these effects can be mitigated. The overall conclusion is that the advantages of using OpenTelemetry for better context during errors outweigh the minor performance costs.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
OpenTelemetry 25 276 38 17 +12%
Observability 2 1,078 199 70 -7%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.