Repository navigation
Commit 6a7601f
committed
Flush the DDIntakeWriter track instead of adding a second LLM Obs writer
The DDAgentWriter branch's dedicated LLM Obs DDIntakeWriter duplicated the
LLM Obs track that the DD_INTAKE_WRITER_TYPE branch already builds whenever
llmObsEnabled is true (Agent.java defaults to
MultiWriter:DDIntakeWriter,DDAgentWriter for that case), so every span was
sent twice. Verified live on Lambda: the pre-fix build sent LLMOBS/v2
payloads twice per invocation.
The original bug this branch was fixing -- spans silently dropped in
Lambda -- was actually caused by the DDIntakeWriter branch never setting
alwaysFlush, so the periodic flush timer rarely beat the execution
environment freezing after the handler returns. Verified live: without
alwaysFlush, 0/8 invocations delivered a span; with it, 8/8 did, one send
each.1 parent a0ba04e commit 6a7601f
1 file changed
Lines changed: 9 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
143 | 150 | | |
144 | 151 | | |
145 | 152 | | |
146 | 153 | | |
147 | 154 | | |
148 | 155 | | |
149 | 156 | | |
| 157 | + | |
150 | 158 | | |
151 | 159 | | |
152 | 160 | | |
| |||
215 | 223 | | |
216 | 224 | | |
217 | 225 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | 226 | | |
238 | 227 | | |
239 | 228 | | |
| |||
0 commit comments