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 :) )
Metadata
Metadata
Assignees
Labels
No labels