github ricoberger/script_exporter v2.2.0
Version 2.2.0 / 2020-05-08

latest releases: v2.19.0, v2.18.0, v2.17.0...
4 years ago

The provided script name is now available via script label for the script_success and script_duration_seconds metric:

# HELP script_success Script exit status (0 = error, 1 = success).
# TYPE script_success gauge
script_success{script="test"} 1
# HELP script_duration_seconds Script execution time, in seconds.
# TYPE script_duration_seconds gauge
script_duration_seconds{script="test"} 0.003628

Therefor the script name must be a valid value for a Prometheus label.

Don't miss a new script_exporter release

NewReleases is sending notifications on new releases.