Skip to content

Consistent mapping for OTel log and event bodies#120547

Merged
felixbarny merged 4 commits intoelastic:mainfrom
felixbarny:otel-logs-body
Jan 22, 2025
Merged

Consistent mapping for OTel log and event bodies#120547
felixbarny merged 4 commits intoelastic:mainfrom
felixbarny:otel-logs-body

Conversation

@felixbarny
Copy link
Member

No description provided.

@felixbarny felixbarny added >enhancement :StorageEngine/Data streams Data streams and their lifecycles labels Jan 21, 2025
@felixbarny felixbarny requested a review from a team as a code owner January 21, 2025 17:28
@elasticsearchmachine elasticsearchmachine added v9.0.0 external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Data Management (obsolete) DO NOT USE. This team no longer exists. labels Jan 21, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine
Copy link
Collaborator

Hi @felixbarny, I've created a changelog YAML for you.

Copy link
Member

@axw axw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Should we bump the version in resources.yaml?

@felixbarny felixbarny added auto-backport Automatically create backport pull requests when merged v8.18.0 labels Jan 22, 2025
@felixbarny felixbarny merged commit fdab1ff into elastic:main Jan 22, 2025
16 checks passed
@felixbarny felixbarny deleted the otel-logs-body branch January 22, 2025 17:18
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x
andrzej-stencel pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jan 24, 2025
…s and events in `otel` mode (#37387)

The OTel community has reached a consensus that all structured data for
events defined by semantic conventions should be stored in attributes
(open-telemetry/semantic-conventions#1651 (comment)).
The body for events may contain opaque/external data, which sounds like
a job for the flattened field type.

Therefore, it no longer makes sense to map the body for logs and events
differently.

The corresponding Elasticsearch mapping change has been merged already:
elastic/elasticsearch#120547

---------

Co-authored-by: Carson Ip <carsonip@users.noreply.github.com>
chengchuanpeng pushed a commit to chengchuanpeng/opentelemetry-collector-contrib that referenced this pull request Jan 26, 2025
…s and events in `otel` mode (open-telemetry#37387)

The OTel community has reached a consensus that all structured data for
events defined by semantic conventions should be stored in attributes
(open-telemetry/semantic-conventions#1651 (comment)).
The body for events may contain opaque/external data, which sounds like
a job for the flattened field type.

Therefore, it no longer makes sense to map the body for logs and events
differently.

The corresponding Elasticsearch mapping change has been merged already:
elastic/elasticsearch#120547

---------

Co-authored-by: Carson Ip <carsonip@users.noreply.github.com>
zeck-ops pushed a commit to zeck-ops/opentelemetry-collector-contrib that referenced this pull request Apr 23, 2025
…s and events in `otel` mode (open-telemetry#37387)

The OTel community has reached a consensus that all structured data for
events defined by semantic conventions should be stored in attributes
(open-telemetry/semantic-conventions#1651 (comment)).
The body for events may contain opaque/external data, which sounds like
a job for the flattened field type.

Therefore, it no longer makes sense to map the body for logs and events
differently.

The corresponding Elasticsearch mapping change has been merged already:
elastic/elasticsearch#120547

---------

Co-authored-by: Carson Ip <carsonip@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >enhancement external-contributor Pull request authored by a developer outside the Elasticsearch team :StorageEngine/Data streams Data streams and their lifecycles Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v8.18.0 v9.0.0

4 participants