Open nugroho-exp opened 2 years ago
Thanks for reporting @nugroho-exp.
Could you please attach logs from the agent with trace level? That'd help a lot.
Managed to figure this out without logs - fix is merged.
Thank you @gregkalapos . When will the fix be released?
The 1.14.1
just went out, you should already see it - that contains the fix.
Great. Thank you @gregkalapos
Hi @gregkalapos :wave: ,
Sorry for the ping, we bumped into the same issue. As part of the ops KPI review for APM Server, we're seeing the same error.message
: validation error: span: composite: 'count': validation rule 'min(2)' violated, validation error: span: composite: 'count': validation rule 'min(2)' violated
in the ecs logs
This seem to affect multiple versions including 1.22.0
APM Agent version
1.14.0
Environment
Operating system and version: Docker on Linux
.NET Framework/Core name and version : NET 6
Application Target Framework(s) : net6.0
Elastic/APM Server Version: 7.16.2
Describe the bug
We see a lot of event sending errors after upgrading to 1.14.0 with SpanCompressionEnabled feature enabled.
Expected behavior
The agent should send event with valid payload .
Actual behavior
Sometimes the agent send composite span with less than 2 so we get the following error:
validation error: span: composite: 'count': validation rule 'min(2)' violated
In the error log I can see composite object with count 0
"composite":{"count":0,"sum":0.0}