Skip to content

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

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

Merged
merged 4 commits into from
Jan 9, 2025

Conversation

felixbarny
Copy link
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 :Data Management/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 Meta label for data/management team labels Jan 2, 2025
@elasticsearchmachine
Copy link
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
Collaborator

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

Copy link
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
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 :Data Management/Data streams Data streams and their lifecycles external-contributor Pull request authored by a developer outside the Elasticsearch team serverless-linked Added by automation, don't add manually Team:Data Management Meta label for data/management team 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