Skip to content
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

Add resource usage trackers and resource usage collector service #9890

Merged
merged 23 commits into from
Oct 16, 2023

Merge branch 'main' of github.com:opensearch-project/OpenSearch into …

bf7f65b
Select commit
Loading
Failed to load commit list.
Merged

Add resource usage trackers and resource usage collector service #9890

Merge branch 'main' of github.com:opensearch-project/OpenSearch into …
bf7f65b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Oct 15, 2023 in 0s

75.63% of diff hit (target 71.24%)

View this Pull Request on Codecov

75.63% of diff hit (target 71.24%)

Annotations

Check warning on line 208 in server/src/main/java/org/opensearch/action/admin/cluster/node/stats/NodeStats.java

See this annotation in the file changed.

@codecov 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

Check warning on line 543 in server/src/main/java/org/opensearch/action/admin/cluster/node/stats/NodeStats.java

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/SearchResponse.java#L733

Added line #L733 was not covered by tests

Check warning on line 309 in server/src/main/java/org/opensearch/action/search/TransportSearchAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L308-L309

Added lines #L308 - L309 were not covered by tests

Check warning on line 312 in server/src/main/java/org/opensearch/action/search/TransportSearchAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L312

Added line #L312 was not covered by tests

Check warning on line 317 in server/src/main/java/org/opensearch/action/search/TransportSearchAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L317

Added line #L317 was not covered by tests

Check warning on line 322 in server/src/main/java/org/opensearch/action/search/TransportSearchAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L320-L322

Added lines #L320 - L322 were not covered by tests

Check warning on line 474 in server/src/main/java/org/opensearch/action/search/TransportSearchAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L474

Added line #L474 was not covered by tests

Check warning on line 685 in server/src/main/java/org/opensearch/action/search/TransportSearchAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L685

Added line #L685 was not covered by tests

Check warning on line 1212 in server/src/main/java/org/opensearch/action/search/TransportSearchAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L1211-L1212

Added lines #L1211 - L1212 were not covered by tests

Check warning on line 1216 in server/src/main/java/org/opensearch/action/search/TransportSearchAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/TransportSearchAction.java#L1215-L1216

Added lines #L1215 - L1216 were not covered by tests

Check warning on line 374 in server/src/main/java/org/opensearch/index/remote/RemoteSegmentStats.java

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/node/NodesResourceUsageStats.java#L57-L59

Added lines #L57 - L59 were not covered by tests