Closed Pouyanpi closed 1 month ago
@drazvan the changes are done. Currently tracing dependencies are added to pyproject.toml
and using defered import like similar situations in the codebase would clutter the adapters.opentelmetry
module. Dependency req is included in the documentation.
Description
Implements a tracing module to assign a trace id to every incoming request and enable detailed tracing of every rail/action/LLM call that is triggered behind the scenes. Can export the traces to different providers like OpenTelemetry, etc.
Example Usage
Consider following
config.yml
Now you can also use
zipkin
as expoerter.To do so:
and set the exporter to zipkin in config.yml :
Note:
adapter_factory
is temporary, it will be replaced by a Registry pattern.Testing it in Colang 2.x depends on #797
Test Coverage
Checklist