OpenTelemetry Tracing in 200 lines of code

https://jeremymorrell.dev/blog/minimal-js-tracing

A great introduction to what traces and spans are, how they work, and the OpenTelemetry Protocol

18 points · 2 comments · view on lemmy.world

2 Comments

dotslashme@infosec.pub · 2 pts · 1y

Nice post, thanks for sharing!

Azzk1kr@feddit.nl · 2 pts · 1y

Have been using Open Telemetry with Micrometer in a Spring Boot 3 microservices architecture. I have to say (regardless of framework of programming language) : structure your logs (like the article mentioned), use the tracing ID propagation and collect the logs in something like Elastic. This makes analyzing logs nice, especially if you're in a Kubernetes cluster with many services with multiple pods.