diff --git a/01-manual/python-year/python-year-the-hard-way.py b/01-manual/python-year/python-year-the-hard-way.py index b206a51..890aa01 100644 --- a/01-manual/python-year/python-year-the-hard-way.py +++ b/01-manual/python-year/python-year-the-hard-way.py @@ -35,10 +35,12 @@ app = FastAPI() FastAPIInstrumentor.instrument_app(app) + @app.get("/", response_class=HTMLResponse) def home(): return "service: /year" + @app.get("/year") async def year(): span = trace.get_current_span()