elasticsearch_exporter icon indicating copy to clipboard operation
elasticsearch_exporter copied to clipboard

Cluster health refactor

Open sysadmind opened this issue 3 years ago • 4 comments

Followup to #521

Work to refactor the cluster health exporter

sysadmind avatar Jan 20 '22 00:01 sysadmind

Hey @sysadmind Would you mind, if possible, adding active_shards_percent_as_number too?

gaima8 avatar Jan 25 '22 17:01 gaima8

@gaima8 This can already be calculated from the other metrics. According to the prometheus docs, it's best not to export percentages, but rather calculate those at query time. https://prometheus.io/docs/instrumenting/writing_exporters/#naming

sysadmind avatar Jan 25 '22 20:01 sysadmind

@SuperQ This is ready for review now.

sysadmind avatar Jan 28 '22 15:01 sysadmind

It looks like this needs a rebase.

SuperQ avatar Jul 28 '22 08:07 SuperQ