-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
otlp.setLabel panic on non-compliant attribute array values #13703
Comments
The core of the issue is shown in your error log:
I managed to reproduce the issue by crafting an invalid otlp payload. It is invalid because according to OTel spec, arrays MUST be homogeneous, and nulls SHOULD NOT be allowed in arrays. Please double check your OTel collectors and understand why they are sending attributes that do not comply to OTel spec. At the same time, we will improve handling in apm-server to handle this kind of invalid payload. |
thanks for reply. Hope that later versions will ignore this invalid payload and let the apm-server run normally. |
Released v1.11.0 (https://github.com/elastic/apm-data/releases/tag/v1.11.0) @rubvs let's wait for dependabot to pick up the new version and update it in apm-server 🙂 |
Dependabot PR Merged: #13950 |
When can the new release be expected for apm-server? |
@matglas, the fix is scheduled to be shipped in 8.15.2 |
H |
Hi @kikmon, can you give some more details please; setup, input, output expected, error logs, etc. Thanks |
Setup is quite basic. Here's the full callstack if it helps goroutine 172 [running]: |
Hi @kikmon , sorry for the late response. The fix was not introduced in 8.15.2 and will be implemented in an upcoming release. |
Thanks, it explains a lot :) |
APM Server version (
8.8.1 and 8.10.0 and 8.14.3
):apm-server exits for unknown reason, logs can see otpl related stack
Steps to reproduce:
We have a lot of services in our test environment, some of them use OpenTelemetry, some of them use Elastic APM Agent We found today that apm-server exits shortly after starting, as shown in the attached file
I started ELK using docker-compose,yaml, and the part about apm-server is as follows:
apm-server.yaml content
docker inspect elk-apm-server-1 |grep ExitCode -C 10
Provide logs (if relevant): see attachment file
error.log
The text was updated successfully, but these errors were encountered: