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

"Nodes Status" panel shows single node cluster as down #101

Open
jvf opened this issue Dec 14, 2023 · 1 comment
Open

"Nodes Status" panel shows single node cluster as down #101

jvf opened this issue Dec 14, 2023 · 1 comment

Comments

@jvf
Copy link

jvf commented Dec 14, 2023

The "Nodes Status" panel from the "Cassandra Overview" dashboard uses the following query to determine if a node is considered up:

max by (cluster, dc, rack, instance) (changes(mcac_thread_pools_completed_tasks{cluster=~"$cluster", dc=~"$dc", rack=~"$rack", instance=~"$node", pool_name="gossip_stage"}[2m:30s])) > bool 0

For single node clusters the GossipStage ThreadPool is always 0.

I know this is an edge case but having for example single-node test instances displayed as DOWN is annoying. Isn't there a better metric? nodetool status is showing single-node clusters as up, does someone know what metric they are using?

@Nassz
Copy link

Nassz commented Jan 12, 2024

Use up or another metric, as this Gossip Stage is unreliable even for bigger clusters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants