Skip to content

[Writable Warm] Adding Support For NodeResourceUsageStats in ClusterInfo #18472

@abhita

Description

@abhita

Please describe the end goal of this project

Description

For a given node in a Cluster, ResourceUsageStats like CPU, JVM, etc. are only available for its current Scope.
In-order to get stats for other nodes, it has to make a call to NodeStats API via an OpenSearch Client to get stats for other nodes.

Use Case

ResourceUsage Stats are key-indicators of a Cluster's state. These stats would help prevent any potential Cluster-Overloads while accepting Tiering Requests. A given node in a cluster should be able to fetch ResourceUsage Stats for all the nodes.

Changes

ClusterInfo is a Service which aggregates stats like DiskUsages,etc over all the nodes.
Changes involve addition of NodeResourceUsageStats to ClusterInfo to make the ResourceUsageStats available for all nodes.

Supporting References

Issues

Related component

Storage:Remote

Metadata

Metadata

Assignees

No one assigned

    Labels

    MetaMeta issue, not directly linked to a PRuntriaged

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions