Commit f7244cc
Emit empty additional-tag values on the OTLP stats export path
Aggregation treats an explicitly-empty configured tag ("key:") as a distinct
dimension from an absent one, so it forms a separate aggregate row. The OTLP
writer dropped the empty-value slot, which meant an absent-tag row and an
empty-value row exported identical attribute sets -- two separately-aggregated
points indistinguishable to the backend. Emit the empty value as key="" so the
OTLP attributes stay faithful to the aggregate key; only truly-malformed slots
(no ':' or empty key) are still skipped.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 763cf32 commit f7244cc
1 file changed
Lines changed: 5 additions & 3 deletions
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
248 | 250 | | |
249 | 251 | | |
250 | 252 | | |
251 | | - | |
| 253 | + | |
252 | 254 | | |
253 | 255 | | |
254 | 256 | | |
| |||
0 commit comments