Technical requirements
The examples in this chapter are provided in this book's companion repository, found here: https://github.com/PacktPublishing/Cloud-Native-Observability. The source code can be downloaded via git
as per the following command:
$ git clone https://github.com/PacktPublishing/Cloud-Native-Observability $ cd Cloud-Native-Observability/chapter07
The completed examples from this chapter are in the chapter7
directory. If you'd prefer the refactor along, copy the code from chapter6
as a starting point. Next, we'll need to ensure the version of Python on your system is at least 3.6. You can verify it with the following commands:
$ python --version Python 3.8.9 $ python3 --version Python 3.8.9
This chapter will use the same opentelemetry-api
, opentelemetry-sdk
, and opentelemetry-propagator-b3
packages we installed in previous chapters. In addition, we will use the opentelemetry-instrumentation
and opentelemetry-distro
packages. Install the packages...