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

Show node roles in Stack Monitoring ES instance listing #151818

Closed
smith opened this issue Feb 22, 2023 · 3 comments · Fixed by #152127
Closed

Show node roles in Stack Monitoring ES instance listing #151818

smith opened this issue Feb 22, 2023 · 3 comments · Fixed by #152127
Assignees
Labels
enhancement New value added to drive a business result Feature:Stack Monitoring Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services

Comments

@smith
Copy link
Contributor

smith commented Feb 22, 2023

Users of the instance listing would like to see what roles each Elasticsearch node is assigned.

Add a column called Roles between Status and Shards on the Elasticsearch nodes listing with a comma-separated list of the node roles for the instance.

@smith smith added enhancement New value added to drive a business result Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services Feature:Stack Monitoring labels Feb 22, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@smith
Copy link
Contributor Author

smith commented Feb 22, 2023

Looking in .monitoring-es-8 on a cluster and I see that there's an elasticsearch.node.roles field but no values present in the data I'm looking at.

The role also doesn't appear in data returned from the /api/monitoring/v1/clusters/:cluster_id/elasticsearch/nodes endpoint, just the "type". The type doesn't include the hot/warm status of a node, which is what we're after here, so we might have to gauge the difficulty of collecting and displaying this data.

@miltonhultgren miltonhultgren self-assigned this Feb 23, 2023
@miltonhultgren
Copy link
Contributor

When the recent Ingest Pipelines metricset was added, Josh introduced the new mapping for elasticsearch.node.roles but currently that metricset is the only one that populates that data (and you need to enable it).

So we'll need to update some metricset to collect that data, my guess is that the table is populated mostly by node_stats which pulls data from ES /_nodes/_all/stats which does have the roles for each node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Stack Monitoring Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants