phsmith / rundeck_exporter

Rundeck Metrics Exporter
GNU General Public License v3.0
58 stars 25 forks source link

Request - Metrics - Node Active/Passive #97

Open Zwordi opened 3 weeks ago

Zwordi commented 3 weeks ago

Hello there :).

It would be helpful to have a metric boolean type to see if the rundeck instance is active or passive.

Thanks,

phsmith commented 3 weeks ago

Hey, I'm going to take a look at your request.

Zwordi commented 3 weeks ago

Great Thank you.

phsmith commented 1 week ago

@Zwordi, I just released version 2.8.1 of the exporter with the new metrics rundeck_execution_mode_active and rundeck_execution_mode_passive, hope it's what you're looking for.

doniz commented 2 days ago

Any reasons why it cannot be under one option rundeck_execution_modeand 1 would represent active, 0 - passive ?

phsmith commented 2 days ago

Hi @doniz, it's just a good practice to define clear metric names for easier understanding of their purpose.