Python illustration

Python

All articles tagged 'Python'

Isometric retro diagram showing SQS message propagation from producer to consumer via LocalStack, with oscilloscope showing AWSTraceHeader vs traceparent OpenTelemetry trace context

How to Test SQS Workflows Locally with LocalStack and OpenTelemetry

LocalStack lets you run SQS, Lambda, and S3 locally in Docker — but there's a hidden trap: OpenTelemetry's default AWS propagator doesn't work with free LocalStack. Here's how to set up end-to-end local testing with working trace propagation.

Read
Prathamesh Sonpatki

Prathamesh Sonpatki

OpenTelemetry trace propagation across SQS and Lambda — publisher injects traceparent into MessageAttributes, Lambda consumer extracts it to link spans into one trace waterfall

End-to-End Trace Propagation Across SQS and Lambda with OpenTelemetry

SQS doesn't propagate trace context automatically. You instrument both sides, deploy, and get two disconnected traces. This post shows how to wire them into one waterfall — and the ESM format gotcha that silently breaks it every time.

Read
Prathamesh Sonpatki

Prathamesh Sonpatki

last9-genai: Closing the Conversation Gap in LLM Observability

last9-genai: Closing the Conversation Gap in LLM Observability

OpenTelemetry's GenAI instrumentation gives you spans and token counts. It does not give you conversations, workflow cost rollups, or prompts visible in your dashboard. last9-genai is an OTel extension that fills those three gaps — without replacing your existing observability stack.

Read
Prathamesh Sonpatki

Prathamesh Sonpatki

How to Exclude Health Check Endpoints from Python OTel Traces

How to Exclude Health Check Endpoints from Python OTel Traces

Health check endpoints generate thousands of identical, useless spans per day. Here are two production-ready approaches to filter them from your Python OTel traces — and the correctness trap most implementations miss.

Read
Prathamesh Sonpatki

Prathamesh Sonpatki

A Practical Guide to Python Application Performance Monitoring

A Practical Guide to Python Application Performance Monitoring(APM)

Monitor, debug, and optimize Python apps in production with APM—track transactions, DB queries, errors, and external calls.

Read
Anjali Udasi

Anjali Udasi

Essential Python Monitoring Techniques You Need to Know

Essential Python Monitoring Techniques You Need to Know

Learn the key techniques to monitor Python performance, catch bottlenecks early, and keep your applications fast and reliable at scale.

Read
Anjali Udasi

Anjali Udasi

FastAPI Python for Infra and Ops, Made Simple

FastAPI Python for Infra and Ops, Made Simple

Build fast, async-ready Python APIs that simplify tooling, automation, and observability pipelines.

Read
Anjali Udasi

Anjali Udasi

Python Loguru: The Logging Cheat Code You Need in Your Life

Python Loguru: The Logging Cheat Code You Need in Your Life

If logging in Python feels like a chore, Loguru is the cheat code you need—zero boilerplate, rich features, and pure simplicity!

Read
Preeti Dewani

Preeti Dewani

How to Use OpenSearch with Python for Search and Analytics

How to Use OpenSearch with Python for Search and Analytics

Learn how to set up, index data, run queries, and secure OpenSearch with Python for efficient search and analytics.

Read
Preeti Dewani

Preeti Dewani

Types of Errors in Python and How to Fix Them

Python Errors Explained: 15+ Types with Examples & Fixes

Fix Python errors fast: SyntaxError, TypeError, NameError, ValueError, KeyError, IndexError & more. Each error explained with code examples, causes, and copy-paste solutions.

Read
Preeti Dewani

Preeti Dewani

Python Logging with Structlog: A Comprehensive Guide

Python Logging with Structlog: A Comprehensive Guide

Master Python logging with structlog! Learn how structured logs improve debugging, observability, and performance in your apps.

Read
Preeti Dewani

Preeti Dewani