Technical requirements
If you've already completed Chapter 4, Distributed Tracing, or Chapter 5, Metrics - Recording Measurements, the setup here will be quite familiar. Ensure the version of Python in your environment is at least Python 3.6 by running the following commands:
$ python --version $ python3 --version
This chapter will rely on the OpenTelemetry API and SDK packages that are installable via pip
with the following command. The examples in this chapter are using the version 1.9.0 opentelemetry-api
and opentelemetry-sdk
packages:
$ pip install opentelemetry-api \ opentelemetry-sdk \ opentelemetry-propagator-b3
Important Note
The OpenTelemetry examples in this chapter rely on an experimental release of the logging signal for OpenTelemetry. This means it's possible that by the time you...