Because FastAPI supports Starlette middleware, using the agent with FastAPI is almost exactly ... app = FastAPI() app.add_middleware(ElasticAPM, client=apm) ...
確定! 回上一頁