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

[Profiling] Introduce ILM for K/V indices #96268

Merged
merged 12 commits into from
Jun 1, 2023

Conversation

danielmitterdorfer
Copy link
Member

With this commit we add ILM configuration for K/V indices that are used by Elastic Universal Profiling. As K/V indices are rolled over after a certain time there may be more than one K/V index to lookup the data for, which has a negative impact on latency. By taking the fact that K/V data depend on events and we always write "live data" we can use the index creation date to constrain which indices we need to consider.

With this commit we add ILM configuration for K/V indices that are used
by Elastic Universal Profiling. As K/V indices are rolled over after a
certain time there may be more than one K/V index to lookup the data
for, which has a negative impact on latency. By taking the fact that K/V
data depend on events and we always write "live data" we can use the
index creation date to constrain which indices we need to consider.
@danielmitterdorfer danielmitterdorfer added >enhancement cloud-deploy Publish cloud docker image for Cloud-First-Testing v8.9.0 labels May 23, 2023
@danielmitterdorfer
Copy link
Member Author

One build failed due to #95947.

@elasticmachine run elasticsearch-ci/part-3

@danielmitterdorfer
Copy link
Member Author

@elasticmachine run elasticsearch-ci/docs

@danielmitterdorfer danielmitterdorfer marked this pull request as ready for review May 26, 2023 06:54
@danielmitterdorfer danielmitterdorfer added the :UniversalProfiling/Application Elastic Universal Profiling REST APIs and infrastructure label May 26, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/profiling (Team:Universal Profiling)

@elasticsearchmachine
Copy link
Collaborator

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

@danielmitterdorfer
Copy link
Member Author

@elasticmachine merge upstream

@inge4pres inge4pres self-requested a review May 26, 2023 07:49
Copy link
Contributor

@gmarouli gmarouli left a comment

Choose a reason for hiding this comment

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

@danielmitterdorfer thanks for the well structured PR! Main comments are about documentation, if you agree after we add them I want to do another "good" pass because the comments will help me deepen my understanding and hopefully I will be sharper the next time! Thank you!

@danielmitterdorfer
Copy link
Member Author

@gmarouli thanks for the review! I've pushed 98e7c74 addressing your comments.

Copy link
Contributor

@gmarouli gmarouli left a comment

Choose a reason for hiding this comment

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

LGTM, great work, thank you! I am looking forward to see it in action.

@danielmitterdorfer
Copy link
Member Author

Many thanks for your review @gmarouli!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cloud-deploy Publish cloud docker image for Cloud-First-Testing >enhancement :UniversalProfiling/Application Elastic Universal Profiling REST APIs and infrastructure v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants