Skip to content

Add number of shards by node #189

@arob1n

Description

@arob1n

Hello,

In the elasticsearch prometheus, there is a metric named elasticsearch_indices_shards_docs (Count of documents on this shard) which we use to get the number of shards by node.

Existing metrics :

  • opensearch_cluster_shards_number (for the whole cluster)
  • opensearch_index_shards_number (for number of shard by index)

These 2 metrics are useful, but not for what we need : the number of shards by node

(It was present with another plugin for opensearch -discontinued- https://github.com/aparo/opensearch-prometheus-exporter )

We do need a metric that would provide the numbers of shards per node. Do you plan to add such a metric in a near future or if not, would you consider a pull request to add one ?

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