如何将 aws-xray 集成到 fast api 中?

hel*_*per 6 aws-xray fastapi

我正在使用快速 api

我想集成 X 射线,但无法在线找到任何示例,我可以看到有一个功能请求,但我也找到了这个 github 答案 ,其中指出You can now instruments your FastAPI application using Open Telemetry Python SDK and sends data to X-Ray service.

但只能找到flask\django 的例子。

有人有一个简短的示例\链接吗?

真的很感激!

谢谢!