Version 2.0.0 / 2019-08-08
Breaking Changes
- Hard-coding the script endpoint as
/probes
(#9). - Always run
script:
programs directly, removing the-config.shell
command line option (#9). - Rename the
active
parameters in the configuration toenabled
(#13).
Features
- Expose internal metrics for script_exporter on
/metrics
(#9). - Timeout (#12):
- Use the timeout passed by Prometheus.
- Reduce the timeout slightly to account for overhead.
- The timeout from Prometheus can be overwritten via the configuration file.
- The timeout is passed to the scripts via environment variable
$SCRIPT_TIMEOUT
. - The timeout can be enforced.
- Add configuration reload. The configuration will be reloaded if a
SIGHUP
signal is sent to the script_exporter process (#13).
Improvements
- Add build instructions for ARMv7 architecture to the Makefile (#10).
- Improve the authentication handling (#13).
- Add graceful shutdown. Shutdown is handled by
SIGINT
andSIGTERM
signals (#13).
tls:
- active: <boolean>
+ enabled: <boolean>
crt: <string>
key: <string>
basicAuth:
- active: <boolean>
+ enabled: <boolean>
username: <string>
password: <string>
bearerAuth:
- active: <boolean>
+ enabled: <boolean>
signingKey: <string>
scripts:
- name: <string>
script: <string>
+ timeout:
+ max_timeout: <float>
+ enforced: <boolean>