Skip to content

Commit

Permalink
Merge pull request #536 from OpenMined/fix_otel_instrument
Browse files Browse the repository at this point in the history
fix http_capture_headers_server_request
  • Loading branch information
teo-milea authored Jan 30, 2025
2 parents 5dc0250 + 5179bdd commit c3849d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syftbox/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async def lifespan(app: FastAPI, settings: Optional[ServerSettings] = None) -> A

FastAPIInstrumentor.instrument_app(
app,
http_capture_headers_server_request=".*",
http_capture_headers_server_request=[".*"],
server_request_hook=server_request_hook,
)
SQLite3Instrumentor().instrument()
Expand Down

0 comments on commit c3849d2

Please sign in to comment.