Skip to content

Commit

Permalink
Don't use optional params in quickstart example
Browse files Browse the repository at this point in the history
  • Loading branch information
florimondmanca committed Nov 21, 2019
1 parent f48e5f9 commit 32ccb56
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ async def app(scope, receive, send):
await send({"type": "http.response.start", "status": 200, "headers": headers})
await send({"type": "http.response.body", "body": b"Hello, world!"})

app = TraceMiddleware(
app, service="asgi-hello-world", tags={"env": "local"},
)
app = TraceMiddleware(app)
```

Then use `ddtrace-run` when serving your application. For example, if serving with Uvicorn:
Expand Down

0 comments on commit 32ccb56

Please sign in to comment.