This project is a learning example for context propagation between Python and Java.
This Project demonstrates the Context Propagation capability of OpenTelemetry (OTel) between Python and Java service. Project is divided into two parts: gRPC and HTTP -- designed to show the differ between two protocols. Each part contains subdirectories which contain the Java/Python code respectively. The grpc directory also contains the .proto file. Further infomation please look into grpc's or http's README.md file and the Explanatory.md.
.
├── README.md
├── grpc
└── http
- grpc: Both Python and Java use gRPC to implement OTel context propagation. It's [WIP] and any contribution or help is welcome.
- http: Both Python and Java use HTTP to implement OTel context propagation. how to use
TBD
.
├── javasnippet
└── pythonsnippet
- javasnippet: Java code snippet for context propagation. It's maven project.
- pythonsnippet: Python code snippet for context propagation. It's flask project.
https://opentelemetry-python.readthedocs.io/
https://opentelemetry-python-contrib.readthedocs.io/
https://opentelemetry.io/docs/instrumentation/java/manual
https://opentelemetry.io/docs/instrumentation/python/manual/