-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Stack Monitoring] update monitoring index patterns to be non-versioned #121609
[Stack Monitoring] update monitoring index patterns to be non-versioned #121609
Conversation
Pinging @elastic/infra-monitoring-ui (Team:Monitoring) |
💚 Build Succeeded
Metrics [docs]Page load bundle
To update your PR or re-run it, just comment with: cc @matschaffer |
Kind of surprised that passed. What say you @klacabane , merge it? |
Looks legit from a pattern matching perspective. Curious to hear @klacabane's feedback. |
export const INDEX_PATTERN_BEATS = '.monitoring-beats-6-*,.monitoring-beats-7-*'; | ||
export const INDEX_ALERTS = '.monitoring-alerts-6*,.monitoring-alerts-7*'; | ||
export const INDEX_PATTERN_ELASTICSEARCH = '.monitoring-es-6-*,.monitoring-es-7-*'; | ||
export const INDEX_PATTERN = '.monitoring-*'; |
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.
Note: isn't this pattern also encompassing the other four?
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.
I wonder what was the reasoning behind the hardcoded versions here ? Could we have some legacy .monitoring version 5 out there that we don't support anymore ?
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.
fair thing to wonder. Maybe @jasonrhodes or @chrisronline have some idea?
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.
export const INDEX_PATTERN_BEATS = '.monitoring-beats-6-*,.monitoring-beats-7-*'; | ||
export const INDEX_ALERTS = '.monitoring-alerts-6*,.monitoring-alerts-7*'; | ||
export const INDEX_PATTERN_ELASTICSEARCH = '.monitoring-es-6-*,.monitoring-es-7-*'; | ||
export const INDEX_PATTERN = '.monitoring-*'; |
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.
I wonder what was the reasoning behind the hardcoded versions here ? Could we have some legacy .monitoring version 5 out there that we don't support anymore ?
Closing in favor of #121641 |
Summary
Rel #121251
This updates stack monitoring index patterns to look for any monitoring prefix.
This supports our current 6 & 7, as well as 8 which is getting ready for release and covers our metricbeat index patterns.
Checklist
Delete any items that are not applicable to this PR.
Risk Matrix
Delete this section if it is not applicable to this PR.
Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.
When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:
For maintainers