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

What's in an instrumentation? An SQS and Python study

Blog post from Lumigo

Post Details
Company
Date Published
Author
Michele Mancioppi
Word Count
2,664
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

In this blog post, we explore the intricacies of distributed tracing in asynchronous systems, focusing on the challenges posed by message consumption APIs. We delve into the structure of traces and spans, discussing how instrumentation plays a crucial role in collecting these data points. The author highlights the importance of safe scopes for restoring trace context during iteration, emphasizing the limitations of built-in Python constructs like `__enter__` and `__exit__`. However, they propose an alternative approach by instrumenting the `__iter__` method of lists, providing a clean solution that works for many applications. The post concludes with a call to action, encouraging readers to try out the Lumigo OpenTelemetry Distro for Python, which offers a generous trial and free tier for those interested in distributed tracing.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 30 1,225 214 64 +27%
OpenTelemetry 9 123 23 12 -24%
Serverless 1 1,400 167 69 +31%
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.