In this chapter, we demonstrate two examples: one for demonstrating baggage
context data transfer between services; another for demonstrating a more complete HTTP+DB+Redis+Logging
component link tracing.
📄️ Tracing HTTP - Baggage
Using the GoFrame framework for tracing, focusing on demonstrating the method of transmitting Baggage data between services through an HTTP example. It provides a detailed explanation of client and server code implementation, including how to set and get Baggage, and offers a way to view link information through Jaeger, providing a practical guide for developers to achieve efficient tracing in distributed systems.
📄️ Tracing HTTP - Data Ops
This document provides a detailed introduction on how to implement tracing in the GoFrame framework, demonstrating end-to-end tracing using OTLP through HTTP and database operation examples. The example integrates cache management, database operations, and Redis usage, allowing for viewing detailed trace information through Jaeger and analyzing tracing data across clients and servers to help developers optimize and debug the full process.