[Bug]: gradle-check
alias used in OpenSearchMetricsQuery
does not query the latest indices
#493
Labels
bug
Something isn't working
Describe the bug
The library OpenSearchMetricsQuery.groovy which is used to query the gradle check indices from metrics cluster does not query the latest created
gradle-check-*
indices. The library publishGradleCheckTestResults.groovy creates index in specific date format example asgradle-check-\$MONTH_YEAR
, the aliasgradle-check
used in inOpenSearchMetricsQuery
does have the latest indices created fromgradle-check-\$MONTH_YEAR
hence when used the aliasgradle-check
does not give the latest results.To reproduce
The command
GET /_alias/gradle-check
does not have all the indices part ofGET /gradle-check-*
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
The
INDEX_MAPPING
used in publishGradleCheckTestResults.groovy should have the following added to ensure the new index created is part of thegradle-check
alias.Relevant log output
No response
The text was updated successfully, but these errors were encountered: