Skip to content

[FEATURE] Node type label in the opensearch metrics #440

@ragu2003

Description

@ragu2003

Is your feature request related to a problem?
Currently it returns metrics for all the nodes. Only way to distinguish them is by node name.

What solution would you like?
Currently we can do:
opensearch_os_cpu_percent{cluster="$cluster", node=~"data-node-0"}
It will be great if we can also do something like this:
opensearch_os_cpu_percent{cluster="$cluster", nodetype=~"data"}

What alternatives have you considered?
In our grafana dashboard we differentiate them by regex of node name but it is not reliable. As anyone can name their nodes differently for different node types

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions