Skip to content

Releases: ricoberger/script_exporter

Version 2.2.0 / 2020-05-08

08 May 06:02
b698e33
Compare
Choose a tag to compare

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.

Version 2.1.2 / 2020-04-29

29 Apr 17:33
3da2c15
Compare
Choose a tag to compare

Add support for arm64 binaries. Thanks to @billimek for his PR #20.

Version 2.1.1 / 2020-04-12

12 Apr 13:14
Compare
Choose a tag to compare

Fix the GitHub Action to upload the correct binaries.

Version 2.1.0 / 2020-04-12

12 Apr 13:06
Compare
Choose a tag to compare
  • Add a GitHub Action to upload the binaries for a new release.
  • Build and push Docker image to ricoberger/script_exporter for a new release.
docker run -p 9469:9469 -v ~/script_exporter:/opt ricoberger/script_exporter:v2.1.0 -config.file /opt/config.yaml

Version 2.0.1 / 2019-12-13

13 Dec 08:12
92a7645
Compare
Choose a tag to compare
  • Fix prefix on HELP and TYPE tags
  • Do not force {} for metrics

Version 2.0.0 / 2019-08-08

08 Aug 18:55
dfb4d1a
Compare
Choose a tag to compare

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 to enabled (#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 and SIGTERM 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>

Version 1.3.0 / 2019-07-04

04 Jul 19:31
bda189f
Compare
Choose a tag to compare
  • Feature: Direct run
    Add the ability to directly execute configured scripts. A big thanks goes to @siebenmann for this idea (#5) and his PR (#6)

  • Improvements
    Improve the documentation and versioning.

Version 1.2.0 / 2018-12-12

12 Dec 17:54
f4685dd
Compare
Choose a tag to compare

Switch from dep to go modules for dependency management.

Version 1.1.2 / 2018-09-16

16 Sep 16:57
Compare
Choose a tag to compare

Add the possibility to use multiple arguments in the configuration file:

scripts:
  - name: helloworld
    script: ./examples/helloworld.sh test

The parameter test is passed to the script helloworld.sh now.

Version 1.1.1 / 2018-08-24

24 Aug 16:40
2f3b159
Compare
Choose a tag to compare
  • Add output parameter
    The output parameter controls the handlign of the executed script output. If the parameter is set to ignore the output of the executed script is ignored and the script exporter only returns script_success{} and script_duration_seconds{}.