Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

add ad task stats #332

Merged
merged 3 commits into from
Dec 17, 2020
Merged

Conversation

ylwu-amzn
Copy link
Contributor

Issue #, if available:

Description of changes:

Add AD task stats for historical detector

Test

1../gradlew build
2../gradlew integTest -PnumNodes=3

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Dec 16, 2020

Codecov Report

Merging #332 (f6f7045) into master (9c3b972) will increase coverage by 0.62%.
The diff coverage is 95.55%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #332      +/-   ##
============================================
+ Coverage     74.91%   75.54%   +0.62%     
- Complexity     2133     2161      +28     
============================================
  Files           206      207       +1     
  Lines          9999    10030      +31     
  Branches        892      898       +6     
============================================
+ Hits           7491     7577      +86     
+ Misses         2087     2033      -54     
+ Partials        421      420       -1     
Flag Coverage Δ Complexity Δ
cli 79.27% <ø> (ø) 0.00 <ø> (ø)
plugin 75.25% <95.55%> (+0.67%) 0.00 <8.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...transport/StatsAnomalyDetectorTransportAction.java 91.04% <91.30%> (+80.51%) 17.00 <4.00> (+16.00)
...stroforelasticsearch/ad/AnomalyDetectorPlugin.java 95.04% <100.00%> (+0.21%) 11.00 <0.00> (ø)
...roforelasticsearch/ad/stats/InternalStatNames.java 100.00% <100.00%> (ø) 3.00 <3.00> (?)
...opendistroforelasticsearch/ad/stats/StatNames.java 100.00% <100.00%> (ø) 5.00 <0.00> (ø)
...arch/ad/transport/ADStatsNodesTransportAction.java 100.00% <100.00%> (+21.42%) 9.00 <0.00> (+4.00)
...rch/ad/transport/StatsAnomalyDetectorResponse.java 100.00% <100.00%> (ø) 5.00 <1.00> (+1.00)
...stroforelasticsearch/ad/stats/ADStatsResponse.java 80.00% <0.00%> (+2.22%) 18.00% <0.00%> (+1.00%)
...asticsearch/ad/cluster/ADClusterEventListener.java 92.00% <0.00%> (+4.00%) 14.00% <0.00%> (+1.00%)
... and 3 more

Copy link
Contributor

@yizheliu-amazon yizheliu-amazon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no major concerns from me.

…ector;change getAdStatsResponse as protected method
…ector;change getAdStatsResponse as protected method
@ylwu-amzn ylwu-amzn merged commit e0dcaec into opendistro-for-elasticsearch:master Dec 17, 2020
@ohltyler ohltyler added the enhancement New feature or request label Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants