Commit 1a48c8a
committed
SS-90: Document set_tracer_provider one-time-global invariant
Copilot flagged that trace.set_tracer_provider() is a one-time global
and a pre-existing provider could cause spans to be lost. Add a design
note explaining why this cannot happen in SmartFix: ADK's OTel setup
only runs from its CLI web server (not the Runner API we use), and
LiteLLM's OTel integration requires explicit callback configuration.1 parent 5d7af87 commit 1a48c8a
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
0 commit comments