elasticsearch_exporter icon indicating copy to clipboard operation
elasticsearch_exporter copied to clipboard

number_of_replicas

Open mac2000 opened this issue 3 years ago • 4 comments

motivation: hunting for indices with number_of_replicas being set to zero, which might cause data loss in certain scenarios, need this metric to configure alert

output will be:

# HELP elasticsearch_indices_settings_number_of_replicas index setting number_of_replicas
# TYPE elasticsearch_indices_settings_number_of_replicas gauge
elasticsearch_indices_settings_number_of_replicas{index="foo"} 3
elasticsearch_indices_settings_number_of_replicas{index="bar"} 0

closes #482

mac2000 avatar Oct 18 '21 12:10 mac2000

sorry for a noob question but seems like I have stuck with this DCO whatever, is there a chance you can press the button or should I figure out how to fix this check?

mac2000 avatar Jan 26 '22 17:01 mac2000

Any chance we can get this merged @SuperQ ? I would love to have this metric exported

rccrdpccl avatar Aug 04 '22 15:08 rccrdpccl

This needs a DCO sign-off. You can use git commit -s --amend to add it.

SuperQ avatar Aug 04 '22 21:08 SuperQ

@SuperQ thank you, seems like it did the trick

mac2000 avatar Aug 05 '22 05:08 mac2000

@SuperQ @sysadmind is there any chance it will be merged somewhere in the future or should something else be done?

mac2000 avatar Oct 24 '22 10:10 mac2000

LGTM. Thanks!

sysadmind avatar Nov 01 '22 00:11 sysadmind