Skip to content

Cluster dashboard reports incorrect node count #1037

@ElSamhaa

Description

@ElSamhaa

Hello, I have a 2-node cluster running on VMs. Requests to the cluster are loadbalanced for high availability. Once elasticsearch_exporter is deployed to both nodes, the dashboard reported many incorrect data. For instance, Nodes are shown as 4 while the cluster contains only 2.

The query behind that Nodes pane is as follows

sum(
  elasticsearch_cluster_health_number_of_nodes{cluster=~"$cluster"}
)

AFAIU, the cluster metrics should not be aggregated with sum, only 1 dimension should be selected and reported. Also, I'm wondering if there is a use case I'm not aware of where that sum aggregation would be desirable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions