These tutorials can be followed using any following tracing backends:
Refer to this guide to learn how to set up and run any of the above tracing backends.
This repository uses pip
to manage dependencies. To install all dependencies, run:
- Navigate to the tutorial directory:
cd opentelemetry-tutorial/python
- Activate your virtual environment.
- Install the required dependencies:
pip install -r requirements.txt
All subsequent commands in the tutorials should be executed relative to this python
directory.
- Lesson 01 - Hello World
- Instantiate a Tracer
- Create a simple trace
- Annotate the trace
- Lesson 02 - Context and Tracing Functions
- Trace individual functions
- Combine multiple spans into a single trace
- Propagate the in-process context
- Lesson 03 - Tracing RPC Requests
- Trace a transaction across more than one microservice
- Pass the context between processes using
Inject
andExtract
- Apply OpenTracing-recommended tags
- Lesson 04 - Baggage
- Understand distributed context propagation
- Use baggage to pass data through the call graph