ricoberger / script_exporter

Prometheus exporter to execute scripts and collect metrics from the output or the exit status.
MIT License
354 stars 82 forks source link

Add metric for the exit code of a script #36

Closed ricoberger closed 3 years ago

ricoberger commented 3 years ago

This commit adds a new metric name script_exporter_exit_code which contains the exit code for the executed script.

Closes #34.