OpenTelemetry & Python: Manual Instrumentation for Beginners

Опубликовано: 27 Апрель 2026
на канале: Adam Gardner
11,412
137

In this video I walk through how to manually instrument your very first Python application with OpenTelemetry. This video is part of series which will progressively expand the OpenTelemetry monitoring in Python.

If you are new to OpenTelemetry, this is the perfect introduction to instrumentation in approximately 5 minutes.

Read along with the text based version: https://agardner.net/manual-tracing-o...

Part two:    • OpenTelemetry & Python: Manually set Span ...  
Part three:    • OpenTelemetry and Python: Sending spans fr...  

Code samples: https://github.com/agardnerIT/python-...

00:00 Introduction
00:16 Define A Basic Python Function
00:51 Run the Basic Python Function
01:03 Add OpenTelemetry Dependencies
01:25 Look up latest versions on PyPi
01:46 Python requirements.txt file
01:53 Use pip to install dependencies
02:08 OpenTelemetry Step 1: Adding a tracer
02:21 Explanation of the tracer code
03:01 OpenTelemetry Step 2: Generating a span
03:10 Python with block or a Python decorator
03:16 Adding the decorator to the function
03:33 Run the code and get an OpenTelemetry span
03:46 Explanation of an OpenTelemetry span
04:38 Outro

Audio: Taylor William - Frequency (  / frequency  )