Commit 26a551d
committed
fix(celery): coerce timelimit values to strings in span attributes
When only one of the two time limits is set (e.g. soft_time_limit=42
but no time_limit), the None replacement produced a mixed-type list
["", 42] which triggers an OTel mixed-type attribute warning. Coerce
all values to strings for consistency.
See #20221 parent 822cd77 commit 26a551d
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- instrumentation/opentelemetry-instrumentation-celery/src/opentelemetry/instrumentation/celery
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments