Add resource usage trackers and resource usage collector service #9890
75.63% of diff hit (target 71.24%)
View this Pull Request on Codecov
75.63% of diff hit (target 71.24%)
Annotations
codecov / codecov/patch
server/src/main/java/org/opensearch/action/admin/cluster/node/stats/NodeStats.java#L208
Added line #L208 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/admin/cluster/node/stats/NodeStats.java#L543
Added line #L543 was not covered by tests
Check warning on line 253 in server/src/main/java/org/opensearch/action/search/SearchResponse.java
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/SearchResponse.java#L253
Added line #L253 was not covered by tests
Check warning on line 465 in server/src/main/java/org/opensearch/action/search/SearchResponse.java
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/SearchResponse.java#L465
Added line #L465 was not covered by tests
Check warning on line 707 in server/src/main/java/org/opensearch/action/search/SearchResponse.java
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/SearchResponse.java#L707
Added line #L707 was not covered by tests
Check warning on line 720 in server/src/main/java/org/opensearch/action/search/SearchResponse.java
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/SearchResponse.java#L720
Added line #L720 was not covered by tests
Check warning on line 725 in server/src/main/java/org/opensearch/action/search/SearchResponse.java
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/SearchResponse.java#L725
Added line #L725 was not covered by tests
Check warning on line 733 in server/src/main/java/org/opensearch/action/search/SearchResponse.java
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/SearchResponse.java#L733
Added line #L733 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L308-L309
Added lines #L308 - L309 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L312
Added line #L312 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L317
Added line #L317 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L320-L322
Added lines #L320 - L322 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L474
Added line #L474 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L685
Added line #L685 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L1211-L1212
Added lines #L1211 - L1212 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L1215-L1216
Added lines #L1215 - L1216 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/index/remote/RemoteSegmentStats.java#L373-L374
Added lines #L373 - L374 were not covered by tests
Check warning on line 40 in server/src/main/java/org/opensearch/node/NodeResourceUsageStats.java
codecov / codecov/patch
server/src/main/java/org/opensearch/node/NodeResourceUsageStats.java#L35-L40
Added lines #L35 - L40 were not covered by tests
Check warning on line 48 in server/src/main/java/org/opensearch/node/NodeResourceUsageStats.java
codecov / codecov/patch
server/src/main/java/org/opensearch/node/NodeResourceUsageStats.java#L44-L48
Added lines #L44 - L48 were not covered by tests
Check warning on line 58 in server/src/main/java/org/opensearch/node/NodeResourceUsageStats.java
codecov / codecov/patch
server/src/main/java/org/opensearch/node/NodeResourceUsageStats.java#L52-L58
Added lines #L52 - L58 were not covered by tests
Check warning on line 75 in server/src/main/java/org/opensearch/node/NodeResourceUsageStats.java
codecov / codecov/patch
server/src/main/java/org/opensearch/node/NodeResourceUsageStats.java#L75
Added line #L75 was not covered by tests
Check warning on line 79 in server/src/main/java/org/opensearch/node/NodeResourceUsageStats.java
codecov / codecov/patch
server/src/main/java/org/opensearch/node/NodeResourceUsageStats.java#L79
Added line #L79 was not covered by tests
Check warning on line 52 in server/src/main/java/org/opensearch/node/NodesResourceUsageStats.java
codecov / codecov/patch
server/src/main/java/org/opensearch/node/NodesResourceUsageStats.java#L52
Added line #L52 was not covered by tests
Check warning on line 55 in server/src/main/java/org/opensearch/node/NodesResourceUsageStats.java
codecov / codecov/patch
server/src/main/java/org/opensearch/node/NodesResourceUsageStats.java#L54-L55
Added lines #L54 - L55 were not covered by tests
Check warning on line 59 in server/src/main/java/org/opensearch/node/NodesResourceUsageStats.java
codecov / codecov/patch
server/src/main/java/org/opensearch/node/NodesResourceUsageStats.java#L57-L59
Added lines #L57 - L59 were not covered by tests