Closed agardnerIT closed 1 year ago
tracepusher v0.6.0 and lower silently drops invalid attributes without noting them in the span fields.
The code which does this ignoring is: https://github.com/agardnerIT/tracepusher/blob/504aa02eb4a5b565a3c1c66bfa1c016aeb8c2666/tracepusher.py#L42
The droppedAttributesCount is hardcoded to 0: https://github.com/agardnerIT/tracepusher/blob/504aa02eb4a5b565a3c1c66bfa1c016aeb8c2666/tracepusher.py#L190
droppedAttributesCount
Instead of this behaviour, if an attribute is ignored, the droppedAttributesCount should accurately reflect the number of dropped attributes.
Solved by https://github.com/agardnerIT/tracepusher/commit/9e1db490787a81bf28c3b75ab51e42f88c155703
tracepusher v0.6.0 and lower silently drops invalid attributes without noting them in the span fields.
The code which does this ignoring is: https://github.com/agardnerIT/tracepusher/blob/504aa02eb4a5b565a3c1c66bfa1c016aeb8c2666/tracepusher.py#L42
The
droppedAttributesCount
is hardcoded to 0: https://github.com/agardnerIT/tracepusher/blob/504aa02eb4a5b565a3c1c66bfa1c016aeb8c2666/tracepusher.py#L190Instead of this behaviour, if an attribute is ignored, the
droppedAttributesCount
should accurately reflect the number of dropped attributes.