Главная
Study mode:
on
1
Intro
2
Metrics Events Logs Traces (MELT)
3
Context Managers
4
Attribute Mapping
5
Wrapping class methods
6
Binding Parameters
7
Hooking into the Python Import System
8
Registering Import Hooks
9
Example Module
10
Import Ordering
11
WSGI Transaction Naming
12
Coroutines in Async Frameworks
13
Starlette Error Instrumentation
14
Deprecated Imports
15
Starlette Background Tasks
16
Simple Test
17
In Summary
18
Programming the Deepest Field Path Logic
19
Double Reporting Exceptions: The Problem
20
Double Reporting Exceptions: The Solution
21
Adding Signals
22
The Implementation of TouchUp class
23
Conclusion
Description:
Explore the intricacies of code instrumentation in this 40-minute PyCon US talk. Dive into the Python import system and discover useful design patterns for instrumenting code. Examine real-world examples and challenging instrumentation cases from popular Python libraries. Learn about proxies, wrapt, async programming, and web server specifications. Gain insights into making your code instrumentation-friendly and understand the design patterns that facilitate or complicate the process. Follow the journey through various topics including MELT (Metrics, Events, Logs, Traces), context managers, attribute mapping, class method wrapping, import hooks, WSGI transaction naming, coroutines in async frameworks, and more. Uncover solutions to common instrumentation problems and leave with a deeper understanding of how instrumentation works to enhance developer productivity.

Instrumentation Nightmares - A Review of Our Toughest Cases

PyCon US
Add to list
0:00 / 0:00