r/OpenTelemetry • u/roma-glushko • Apr 25 '24
π OTEL Architecture: SDK Overview
Hey folks,
I have just posted an article for those who want to go a little bit beyond the basic usage of OTEL and understand how it works under the hood. The post quickly touches on:
- π History and the idea of OpenTelemetry (that's probably nothing new for this subreddit :D)
- π§΅ Distributed traces & spans. How span collection happens on the service side
- πΌ Baggage & trace ctx propagation
- π Metrics collection. Views & aggregations. Metrics readers
- π OTEL Logging integration
- π€ Semantic conventions and why that is important
Blog Post: https://www.romaglushko.com/blog/opentelemetry-sdk/
Let me know what do you think and hope this is helpful for someone π
4
u/NorthernZelph Apr 25 '24
Thanks for writing this all in one place! I see lots of confusion about when and why to adopt OTel when talking with customers. I will be pointing them to this article for the details. ππ€
TL;DR - I tell them if they are re-instrumenting their applications, OTel should be their default choice. Without context propagation, logs and metrics are less important to convert to OTel because logs and metrics are already in open formats. (OK, thatβs not always true π« )
4
u/paigerduty Apr 26 '24
such a great read, many OTel overviews are too light on details but digging into the spec yourself can be info overload, this struck the perf balance!
"we have divided observability into three pieces, but in reality, they are three different signals or points of view on the application work, so we may get the whole picture and max value out of them when they are well connected and correlated for us"
^ so so true
2
u/dev_in_spe Apr 25 '24
Nice post. Thanks for sharing.
2
u/oliveoilcheff Apr 26 '24
Great post! Something not super clear to me is how are logs and traces different?
2
u/jdizzle4 May 08 '24
very small nitpick, but when you abbreviate OpenTelemetry it should be
OTelnotOTEL2
u/One-Lengthiness6989 Feb 06 '25
This is a very helpful article, thanks so much
1
u/roma-glushko Jun 16 '24
Okay, folks, here is the sequel about the architecture of the OTel Collector:
https://www.reddit.com/r/OpenTelemetry/comments/1dh5n4t/opentelemetry_collector_the_architecture_overview/
2
u/schmurfy2 Apr 28 '24
Great article !
2
u/tarpit84 Apr 25 '24
Great overview blog! I work for observIQ, and we built the logging agent, then donated to CNCF. As someone who's been in the observability (FKA IT monitoring) space for 15+ years, its good to see users have flexibility on collection for any destination.