Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.1 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.1 KB

Tracing Example: Netty 4.1/Google gRPC 1.63/JRE 21

Instead of servlet, the frontend is a Netty HTTP handler. The backend is Google gRPC 1.31. Both services run as a normal Java application.

Here's an example screenshot: screen shot

This example also shows Brave's BaggagePropagation. If you make a request to the frontend with the HTTP header user_name, it will transparently propagate and be readable even in gRPC.

Ex. The backend adds the user to the response, only if it can see a header that was sent to the frontend. This shows transparent propagation across different frameworks.

$ curl -s localhost:8081 -H"user_name: joey"
Sat Dec 19 16:11:01 MYT 2020 joey