feat: rollup init template update #98
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do
This pull request includes several changes to the
config/setup/easysearch/template_rollup.tplfile to update Elasticsearch rollup jobs and settings, as well as a minor version check update inplugin/setup/setup.go. The most important changes include updating the endpoints for rollup jobs, adding new metrics and settings, and enabling rollup search.Updates to rollup jobs and settings:
DELETE /_rollup/jobs/rollup_index_stats,PUT /_rollup/jobs/rollup_index_stats, etc.) [1] [2] [3] [4] [5] [6] [7].minandspecial_metricsfor rollup jobs (PUT _rollup/jobs/rollup_index_stats?replace,PUT _rollup/jobs/rollup_node_stats?replace,PUT _rollup/jobs/rollup_shard_stats_metrics?replace) [1] [2] [3].PUT /_cluster/settings,PUT /.easysearch-ilm-config/_settings).Codebase update:
plugin/setup/setup.goto compare against version1.10.0instead of1.9.2for initializing rollup templates.Rationale for this change
Standards checklist