Technical requirements
This chapter will require Docker and Docker Compose.
Let's get started by learning about OpenTelemetry, its components, and how OpenTelemetry can enable a vendor-agnostic approach to observability. The code used in this chapter is derived from https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/examples/demo with some changes made to provide additional clarity.
The code files for this chapter can be downloaded from https://github.com/PacktPublishing/Go-for-DevOps/tree/rev0/chapter/9