datadog_traces - Failed to encode Datadog traces. #14244
Labels
domain: traces
Anything related to Vectors' trace events
sink: datadog_traces
Anything `datadog_traces` sink related
type: bug
A code related bug.
A note for the community
Problem
We are receiving the following error message very often after updating our datadog agent to send traces through vector:
ERROR sink{component_kind="sink" component_id=datadog_traces_sink component_type=datadog_traces component_name=datadog_traces_sink}: vector::internal_events::datadog_traces: Failed to encode Datadog traces. error=unable to split into small chunks error_reason=message_too_big error_type="encoder_failed" stage="processing"
Configuration
Version
vector 0.24.0 (aarch64-unknown-linux-gnu 43267b9 2022-08-30)
Debug Output
Example Data
No response
Additional Context
We started sending traces from the datadog agent through vector on 8/30 around 1pm where trace metrics started to drop off as seen in the following image:

But we didn't seen any change in the amount of traces indexed for that same operation

And we still have the same amount of ingested traces in datadog for the same time period when traces are going through vector:

A theory is that there's an issue when vector transforms traces and that somehow results in a large portion of traces not being counted in trace metrics. Because we're using trace metrics for our APM view that data has become way less useful so we decided to rollback sending traces through vector and now we're sending traces directly from the datadog agent to datadog.
References
No response
The text was updated successfully, but these errors were encountered: