GoFrame
implements standardized Distributed Tracing features.
📄️ Tracing - Intro
The background and important concepts of the OpenTelemetry project, including components like TracerProvider, Tracer, Span, Attributes, Events, SpanContext, and Propagator, as well as the support of GoFrame framework in these technologies and how to use the gtrace module to implement tracing. Additionally, it lists GoFrame core components that support the OpenTelemetry standard, such as HTTP client, HTTP server, gRPC client and server, Logging, ORM, and NoSQL Redis.
📄️ Tracing - Preparation
Implement tracing with Jaeger in the GoFrame framework. We will demonstrate how to introduce distributed tracing in a system through a combination of Jaeger and OpenTelemetry, including a quick deployment method for Jaeger and the location of example code in the GoFrame framework, as well as encapsulated registration modules.
📄️ Tracing - Basic Example
Using GoFrame for tracing in a single process by creating a Root Span to trace method call chains and viewing results in Jaeger UI. It introduces how to create Spans between methods to record the process of method calls and demonstrates in detail with example code how to implement the transmission of trace information and performance monitoring in the GoFrame framework, helping users quickly locate system anomalies and identify performance bottlenecks.
🗃️ Tracing - HTTP Example
2 items
📄️ Tracing - GRPC Example
Develop a simple GRPC server and client using the GoFrame framework, and add tracing features to GRPC microservices. The example code demonstrates how to initialize Jaeger, implement caching with a Redis adapter, and transmit trace information between the client and server.
🗃️ Tracing - Best Practices
1 item