Skip to content
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

input/otlp: record map-type attributes #32

Open
axw opened this issue May 8, 2023 · 2 comments
Open

input/otlp: record map-type attributes #32

axw opened this issue May 8, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@axw
Copy link
Member

axw commented May 8, 2023

We currently do not record map-type attributes when translating OTLP events to Elastic APM events. For now we may want to flatten the map, adding dots as needed. Hopefully in the future we will be using the Elasticsearch flattened field type, and this will be unnecessary.

@axw axw added the enhancement New feature or request label May 8, 2023
@im-aIex
Copy link

im-aIex commented Sep 11, 2024

Any update on this or workarounds? We are attempting to migrate to elastic but it is dropping attributes for some log records that contain complex objects as opposed to simple strings/numbers.

@axw
Copy link
Member Author

axw commented Sep 12, 2024

@im-aIex the only update (and workaround) to share is that there has been a significant amount of work on improving the OpenTelemetry Collector Elasticsearch exporter. The Elasticsearch exporter does support handling map-type attributes.

As far as workarounds go, you could use that, but bear in mind that:

  • the exporter has a mixture of development (read: tech preview) and beta stability
  • making the exporter's output compatible with curated Kibana UIs such as the APM UI is a work in progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants