Skip to content

Conversation

@rseldner
Copy link
Contributor

@rseldner rseldner commented Jan 7, 2026

Proposing adding mapping for elasticsearch.node.stats.indices.shard_stats.total_count to .monitoring-es-mb template.
This field is part of the node_stats metricset.
Can be useful for users' custom alerting/visualizations.

I see we currently use this aggregation approach to compute the same metric in the stack monitoring UI: https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts


Used PR #121062 as a reference for the changes here

adding mapping for `elasticsearch.node.stats.indices.shard_stats.total_count` which is captured in the `node_stats` metricset.
@rseldner rseldner added >enhancement :Data Management/Monitoring Team:Data Management Meta label for data/management team external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Stack Monitoring labels Jan 7, 2026
@elasticsearchmachine
Copy link
Collaborator

@rseldner please enable the option "Allow edits and access to secrets by maintainers" on your PR. For more information, see the documentation.

@elasticsearchmachine
Copy link
Collaborator

Hi @rseldner, I've created a changelog YAML for you.

@rseldner
Copy link
Contributor Author

closing in favor of #133058

@rseldner rseldner closed this Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Monitoring >enhancement external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Data Management Meta label for data/management team Team:Stack Monitoring v8.19.0 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants