the example doesnt seem to work
import uvicorn
from fastapi import FastAPI
from profyle.fastapi import ProfyleMiddleware
app = FastAPI()
# Trace all requests that match that start with /users
# with a minimum duration of 100ms and a maximum stack depth of 20
app.add_middleware(
ProfyleMiddleware,
pattern="/users*",
)
@app.get("/users/{user_id}")
async def get_user(user_id: int):
return {"hello": "user"}
uvicorn.run(app, host="127.0.0.1", port=8080)
i get the error mentioned in the title. your library seems really cool and i would really like to use it