-
Notifications
You must be signed in to change notification settings - Fork 25k
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
[Profiling] Introduce ILM for K/V indices #96268
Conversation
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.
One build failed due to #95947. @elasticmachine run elasticsearch-ci/part-3 |
@elasticmachine run elasticsearch-ci/docs |
...ck/plugin/core/src/main/resources/org/elasticsearch/xpack/profiler/ilm-policy/profiling.json
Show resolved
Hide resolved
Pinging @elastic/profiling (Team:Universal Profiling) |
Hi @danielmitterdorfer, I've created a changelog YAML for you. |
@elasticmachine merge upstream |
This reverts commit 542fc5e.
There was a problem hiding this 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!
...ck/plugin/core/src/main/resources/org/elasticsearch/xpack/profiler/ilm-policy/profiling.json
Show resolved
Hide resolved
...ck/plugin/core/src/main/resources/org/elasticsearch/xpack/profiler/ilm-policy/profiling.json
Show resolved
Hide resolved
x-pack/plugin/profiler/src/main/java/org/elasticsearch/xpack/profiler/KvIndexResolver.java
Show resolved
Hide resolved
x-pack/plugin/profiler/src/main/java/org/elasticsearch/xpack/profiler/KvIndexResolver.java
Show resolved
Hide resolved
x-pack/plugin/profiler/src/main/java/org/elasticsearch/xpack/profiler/KvIndexResolver.java
Show resolved
Hide resolved
x-pack/plugin/profiler/src/main/java/org/elasticsearch/xpack/profiler/KvIndexResolver.java
Show resolved
Hide resolved
...ain/resources/org/elasticsearch/xpack/profiler/index-template/profiling-symbols-private.json
Outdated
Show resolved
Hide resolved
...ck/plugin/profiler/src/main/java/org/elasticsearch/xpack/profiler/ProfilingIndexManager.java
Outdated
Show resolved
Hide resolved
...gin/profiler/src/main/java/org/elasticsearch/xpack/profiler/TransportGetProfilingAction.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
Many thanks for your review @gmarouli! |
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.