Skip to content

Add missing traces ilm policy for OTel traces data streams#119449

Merged
felixbarny merged 4 commits intoelastic:mainfrom
felixbarny:traces-lifecycle
Jan 9, 2025
Merged

Add missing traces ilm policy for OTel traces data streams#119449
felixbarny merged 4 commits intoelastic:mainfrom
felixbarny:traces-lifecycle

Conversation

@felixbarny
Copy link
Copy Markdown
Member

Adds a default ILM policy for traces. This is important for OTel data streams especially, because these don't roll over by default at all when no ILM policy has been defined.

This ILM policy doesn't have a default retention, in line with the default logs and metrics ILM policies used by integrations and OTel data streams. APM data streams are not affected by this, as they don't import traces@settings and define their own default ILM policies (which have a default retention of 10d).

@felixbarny felixbarny added >bug :StorageEngine/Data streams Data streams and their lifecycles auto-backport Automatically create backport pull requests when merged v9.0.0 v8.17.1 v8.18.0 v8.16.3 labels Jan 2, 2025
@felixbarny felixbarny requested a review from a team as a code owner January 2, 2025 08:22
@elasticsearchmachine elasticsearchmachine added serverless-linked Added by automation, don't add manually Team:Data Management (obsolete) DO NOT USE. This team no longer exists. labels Jan 2, 2025
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the external-contributor Pull request authored by a developer outside the Elasticsearch team label Jan 2, 2025
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Contributor

@lahsivjar lahsivjar left a comment

Choose a reason for hiding this comment

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

LGTM!

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
8.17
8.x
8.16

felixbarny added a commit to felixbarny/elasticsearch that referenced this pull request Jan 9, 2025
felixbarny added a commit to felixbarny/elasticsearch that referenced this pull request Jan 9, 2025
felixbarny added a commit to felixbarny/elasticsearch that referenced this pull request Jan 9, 2025
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 >bug external-contributor Pull request authored by a developer outside the Elasticsearch team serverless-linked Added by automation, don't add manually :StorageEngine/Data streams Data streams and their lifecycles Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v8.16.3 v8.17.1 v8.18.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants