Comments (2)
The core of the issue is shown in your error log:
panic: interface conversion: interface {} is nil, not string
goroutine 3684 [running]:
github.com/elastic/apm-data/input/otlp.setLabel({0xc00502e960, 0x1b}, 0xc003ccef20, {0x1c9da00?, 0xc000ca7710?})
github.com/elastic/[email protected]/input/otlp/metadata.go:508 +0x5f1
github.com/elastic/apm-data/input/otlp.TranslateTransaction.func1({0xc004fcc600, 0x1b}, {0xc0012a8e50?, 0xc0050564dc?})
github.com/elastic/[email protected]/input/otlp/traces.go:290 +0x8be
go.opentelemetry.io/collector/pdata/pcommon.Map.Range({0xc0041ebaa0?, 0xc0050564dc?}, 0xc000b7a978)
go.opentelemetry.io/collector/[email protected]/pcommon/map.go:222 +0x97
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.
from apm-server.
thanks for reply. Hope that later versions will ignore this invalid payload and let the apm-server run normally.
from apm-server.
Related Issues (20)
- docs: APM "Personal data" built-in data filter doc needs an update
- monitoring: No monitoring metrics on sourcemap usage
- monitoring: Agentcfg monitoring metric names contain dot
- bug
- docs: broken release notes links
- Self instumentation config mismatch for "api_key" and "secret_token" in libbeat instrumentation
- Benchmarks: Create a guide on how to interpret daily benchmark results
- monitoring: apm-server monitoring metrics maintenance
- Investigate nightly benchmarks 0 events/s issue HOT 1
- docs: apm-server compatibility with L7 load balancers
- Duplicate events in logs-apm.error datastream when log sending is enabled on agents HOT 1
- Monitor panics from managed apm-server deployments
- System memory limit fallback doesn't work as expected when sizing APM Server configs
- Introduce profile-guided optimization to APM Server
- Auth failure when running local Tilt Up
- Repeat benchmarks to update the Performance guide for 8.16
- Make wolfi the default image and drop the ubuntu-based image
- Special characters in env var used in config causes error "can not convert 'object' into 'string' accessing" HOT 2
- New indexes created for datastreams after update to `8.15.0` are without lifecycle policies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apm-server.