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

Map all OTel attributes #183

Open
noamalffasy opened this issue Nov 20, 2023 · 3 comments
Open

Map all OTel attributes #183

noamalffasy opened this issue Nov 20, 2023 · 3 comments

Comments

@noamalffasy
Copy link

As of now, only some of the attributes are mapped.

Some attributes (like process.command_args, process.owner, network.*) don't have any mapping and are automatically stored under labels.

Are there any plans to map them all? Or are there only specific ones that are supposed to be mapped?

@axw
Copy link
Member

axw commented Nov 20, 2023

Yes. We intend to change how we store OTel data, and in the future attributes should be stored as-is. e.g. process.owner would be stored as process.owner, and would not be rewritten as labels.process_owner.

@josh-williams
Copy link

@axw Is there any update on this? I'm trying to set up all Elastic collection via OTel/APM server for an application I'm working on, and I can't really do that if I can't use most Semantic Convention attributes, so I might have to switch to another collection method if this isn't coming soon.

@axw
Copy link
Member

axw commented Jul 29, 2024

@josh-williams for ingesting OTel data without loss of fidelity, we're now more focused on contributions to OpenTelemetry Collector, and the elasticsearch exporter. We may still make this change to APM Server, but it's not likely to come as soon as originally anticipated.

Just last week, support for indexing OTLP logs into Elasticsearch in a new "OTel-native" document structure was merged: open-telemetry/opentelemetry-collector-contrib#33290. Attribute names are used as-is, embedded within a namespace such as resource.attributes or scope.attributes.

Support for indexing metrics with this document structure is WIP (open-telemetry/opentelemetry-collector-contrib#34248), traces should be a fast follow, and then profiles.

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

No branches or pull requests

3 participants