/say-hello
endpoint, which internally calls the /generate-greeting
endpoint on the second service.
Create Tracing Project, API Key and copy tracing code
Install Dependencies
Add Tracing code to FastAPI application 1
Traceloop.init()
call to initialize tracing and instrument both the FastAPI app and httpx client with OpenTelemetry to capture distributed traces.Add Tracing code to FastAPI application 2
Traceloop.init()
call to the application and instrument the FastAPI app with OpenTelemetry.View traces
http://localhost:8081/say-hello