opensearch-project / anomaly-detection

Identify atypical data and receive automatic notifications
https://opensearch.org/docs/latest/monitoring-plugins/ad/index/
Apache License 2.0
67 stars 73 forks source link

[Backport 2.x] Bump RCF Version and Fix Default Rules Bug in AnomalyDetector #1335

Closed opensearch-trigger-bot[bot] closed 1 month ago

opensearch-trigger-bot[bot] commented 1 month ago

Backport 2ab6dc7f034947ef10a3ca0c422ca41a646c511b from #1334.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.78%. Comparing base (1a8da83) to head (a9538b0).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335/graphs/tree.svg?width=650&height=150&src=pr&token=ZPONorT0bX&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project)](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) ```diff @@ Coverage Diff @@ ## 2.x #1335 +/- ## ============================================ + Coverage 79.64% 79.78% +0.13% - Complexity 5638 5641 +3 ============================================ Files 533 533 Lines 23411 23411 Branches 2323 2323 ============================================ + Hits 18646 18678 +32 + Misses 3663 3631 -32 Partials 1102 1102 ``` | [Flag](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | Coverage Δ | | |---|---|---| | [plugin](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | `79.78% <100.00%> (+0.13%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project) | Coverage Δ | | |---|---|---| | [.../java/org/opensearch/ad/model/AnomalyDetector.java](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fopensearch%2Fad%2Fmodel%2FAnomalyDetector.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#diff-c3JjL21haW4vamF2YS9vcmcvb3BlbnNlYXJjaC9hZC9tb2RlbC9Bbm9tYWx5RGV0ZWN0b3IuamF2YQ==) | `86.33% <100.00%> (ø)` | | | [...n/java/org/opensearch/timeseries/JobProcessor.java](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fopensearch%2Ftimeseries%2FJobProcessor.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#diff-c3JjL21haW4vamF2YS9vcmcvb3BlbnNlYXJjaC90aW1lc2VyaWVzL0pvYlByb2Nlc3Nvci5qYXZh) | `82.78% <ø> (ø)` | | | [...ensearch/timeseries/ratelimit/ColdStartWorker.java](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fopensearch%2Ftimeseries%2Fratelimit%2FColdStartWorker.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#diff-c3JjL21haW4vamF2YS9vcmcvb3BlbnNlYXJjaC90aW1lc2VyaWVzL3JhdGVsaW1pdC9Db2xkU3RhcnRXb3JrZXIuamF2YQ==) | `91.07% <100.00%> (ø)` | | | [...timeseries/rest/handler/IndexJobActionHandler.java](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fopensearch%2Ftimeseries%2Frest%2Fhandler%2FIndexJobActionHandler.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#diff-c3JjL21haW4vamF2YS9vcmcvb3BlbnNlYXJjaC90aW1lc2VyaWVzL3Jlc3QvaGFuZGxlci9JbmRleEpvYkFjdGlvbkhhbmRsZXIuamF2YQ==) | `89.27% <ø> (+1.71%)` | :arrow_up: | | [...s/transport/handler/ResultBulkIndexingHandler.java](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fopensearch%2Ftimeseries%2Ftransport%2Fhandler%2FResultBulkIndexingHandler.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project#diff-c3JjL21haW4vamF2YS9vcmcvb3BlbnNlYXJjaC90aW1lc2VyaWVzL3RyYW5zcG9ydC9oYW5kbGVyL1Jlc3VsdEJ1bGtJbmRleGluZ0hhbmRsZXIuamF2YQ==) | `95.83% <100.00%> (+19.44%)` | :arrow_up: | ... and [9 files with indirect coverage changes](https://app.codecov.io/gh/opensearch-project/anomaly-detection/pull/1335/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opensearch-project)