Urgent.News

What's breaking now, across thousands of outlets.

Tech

OpenTelemetry Python: Trace a Checkout Flow End to End

Quick answer Yes. OpenTelemetry Python adds distributed tracing to a Python service with a few lines of setup: create a tracer provider, attach an exporter, and wrap each step of a request in a span. Each span records a name, timing, and attributes, and spans from one request share a trace id. Start with the console exporter, then switch to a real backend when the traces look right. A customer…

OpenTelemetry Python enables distributed tracing in Python services with just a few setup lines. Tracing creates a timeline for a request as it passes through multiple services, providing a name, duration, and attributes for each step. Before using this tool, verify if a request crosses service boundaries, determine who will read the traces, assess the code structure, and consider the cost of tracing.

This story features a checkout flow example with three sample orders, each running through the checkout process. Each step is wrapped in a span, and all spans for a single order share a trace id. After adding the SimpleSpanProcessor to the TracerProvider, running the checkout flow produced 12 spans, allowing for a detailed view of each step in the process.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Cut once, subtitles follow: a ripple delete that includes the caption track

A feature request on a popular open-source cutter this month put a common subtitle problem in one sentence: "I need to choose the cut points once and get both the edited video and synchronized…

  • CutVoke addresses subtitle synchronization issue
  • Single cut affects video, audio, captions simultaneously
  • Export supports SRT and WebVTT formats

A repair shop can't print a price. Model the floor and the scope instead.

The last time you had your brakes done, the number at the top of the invoice was not the number you had been told. It was higher, and it was higher for a reason that was entirely legitimate: the…

  • Shops avoid price lists due to fluctuating job scopes
  • Floor plan and service arrays provide transparent pricing
  • QR code encodes pricing details with 1:10 code-width-per-meter rule

Why Kali Linux Won't Make You a Hacker (The 4 Skills You Need First)

⚖️ Educational Disclaimer: This guide is intended strictly for technical career guidance, authorized penetration testing, and defensive cybersecurity engineering.

  • Kali Linux is a Linux distribution with security tools, not a skillset
  • Misleading "600 tools" illusion; tools are user-space applications
  • Master Linux internals, networking, and web application security first

Sentry Error Tracking: Catch Bugs Before Your Users Do

Quick answer Sentry error tracking collects the exceptions your Python app raises in production and groups them into issues you can triage, with the stack trace and how many users were hit.

  • Sentry captures Python exceptions in production
  • Reports stack trace and affected users
  • Integrates with Django, Flask, FastAPI

More from Saturday 14 November →