Closed sfishel-splunk closed 1 year ago
Hi @sfishel-splunk, this is done by design. json payload is unmarshalled altogether. If the payload is invalid, it is rejected. Adding an additional step to break down the json batch payload into individual jsons per span would significantly increase the cost. I don't think we want to do that.
I will keep this open for a while if anyone else has other opinions. Or, @sfishel-splunk, if you are interested to experiment and try to make this happen with low overhead (or as an optional functionality), feel free to do so,
@dmitryax makes sense, if it's for performance reasons that's understandable. i'm not much of a Go programmer so i'm unlikely to try this myself :) but it's not blocking me or anything, i just filed it when i noticed it.
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
This issue has been closed as inactive because it has been stale for 120 days with no activity.
Describe the bug When a batch of spans sent to the zipkin receiver includes an invalid span (e.g. has a negative duration), the entire batch is rejected.
Steps to reproduce
What did you expect to see? I expected that the invalid span would be ignored but the rest of the batch would be accepted.
What did you see instead? The entire batch was rejected.
What version did you use? 0.36.0
What config did you use?
Environment quay.io/signalfx/splunk-otel-collector docker image