-
Notifications
You must be signed in to change notification settings - Fork 805
Open
Description
Currently, starlette instrumentation uses a class override pattern which can have ordering issues that cause autoinstrumentation to not apply.
In practice, I see most users manually instrument the app because of this, for example here
https://github.com/YunosukeY/otel-and-a2a-sample/blob/main/server.py#L47
I think it should be possible to switch to wrapping the __init__ method without replacement which can usually solve such ordering issues.
/cc @xrmx was interested in this (I hope :) )
xrmx
Metadata
Metadata
Assignees
Labels
No labels