Releases: ricoberger/script_exporter
Releases · ricoberger/script_exporter
Version 2.8.0 / 2022-12-20
- Improve Logging (#65 by @fgouteroux): The logging behavior can now be configured via the
-log.format
and-log.level
command-line flags. Possible values for the log format arelogfmt
andjson
. Possible values for the log level aredebug
,info
,warn
orerror
. - Add Environment Variables (#65 by @fgouteroux): All environment variables are now added automatically to all scripts. Custom environment variables for a script can be defined via the new
env
property in the configuration file for each script. - Update dependencies (#66)
Version 2.7.0 / 2022-11-24
Version 2.6.0 / 2022-09-08
- Add
command
andargs
option for script configuration by @Nick-Triller (#56) - Update Dependencies (#58)
Version 2.5.2 / 2022-04-30
- Update Go version and base image for Docker (#50)
Version 2.5.1 / 2021-12-12
- Add bash to Docker image (#46)
Version 2.5.0 / 2021-11-23
Version 2.4.0 / 2021-09-15
Version 2.3.1 / 2021-09-07
- Update base Docker image by @thecosmicfrog
Version 2.3.0 / 2021-08-11
- Update Dependencies and GitHub Actions
- Use github.com/golang-jwt/jwt instead of github.com/dgrijalva/jwt-go
- Support multiple platforms for the Docker image
Version 2.2.0 / 2020-05-08
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.