Posts tagged python

A Hands-On Example of Decoupling App Instrumentation with OpenTelemetry

Blog Post Publish Date: 2026/11/18

This post builds a small Python service instrumented with OpenTelemetry, one piece at a time. It starts with the API only, turns on the SDK without changing the code, routes the metrics through the OpenTelemetry Collector to Prometheus, and then switches to Datadog by changing only the Collector configuration.

Read more ...


groupby + attrgetter: The Pythonic Way to Group Objects

Blog Post Publish Date: 2025/07/28

This blog post shows how to group objects by several attributes. It uses two standard library tools, itertools.groupby and operator.attrgetter, instead of building a dictionary of lists by hand. It also covers the one detail that trips most people up: groupby only groups items that are next to each other.

Read more ...


Dynaconf: The Python Config Silver Bullet!

Blog Post Publish Date: 2024/07/21

This blog post gives a short overview of good practices for application configuration, explains the main features of Dynaconf, and walks through a hands-on example that extends it to read parameters from AWS Systems Manager Parameter Store.

Read more ...