📈Instrumentation
Also known as Code Instrumentation, Auto-Instrumentation, Zero-Code Instrumentation
Adding code to a program so it tells you what it is doing.
Think of it like
Think of it like fitting sensors to a machine. Then the machine can tell you how it is doing.
Example
Lucy adds one library to her web app. With no other changes, every request now makes a trace that shows the database calls inside it.
Why it matters
A program can only be watched if it reports. What you add now decides what you see when it breaks.
Definition
Common mistake
Key takeaways
- 1Makes it talk. The program reports what it does.
- 2By hand or automatic. Code you write, or a library.
- 3Decides what you see. Missing data cannot be added later.