Skip to content

Releases: ricoberger/script_exporter

v3.0.1

27 Apr 08:05
Compare
Choose a tag to compare

Fixed

Changed

v3.0.0

07 Apr 19:37
73f27dc
Compare
Choose a tag to compare

Breaking Changes

  • Rename all command-line flags. See Command-Line Flags in the readme for all available command-line flags.
  • Remove tls, bearerAuth and basicAuth options from configuration file. Instead we are now using the Prometheus Exporter Toolkit, where these options can be configured via the configuration file set via the --web.config.file command-line flag.
  • Remove discovery options from configuration file. Instead the --discovery.host, --discovery.port and --discovery.scheme command-line flags can be used.
  • Remove scripts_configs options from configuration file. Instead the --config.files command-line flag accepts a glob pattern to use multiple configuration files.
  • Remove prefix parameter and prefix option from the script discovery configuration. The metrics can't be prefixed anymore.
  • Remove output parameter and ignoreOutputOnFail option from script configuration. Instead the output option in the script configuration can now be used.
  • Remove script option from script configuration. Instead command should be used.
  • Change the type of the command script configuration from a single string to a list of strings, so that is more similar to how the command can be configured in Kubernetes.
  • Add new cache option to script configuration and remove cacheDuration and useExpiredCacheOnError options.
  • Rename allowEnvOverwrite option in the script configuration to allow_env_overwrite
  • Rework parsing of the output of a script. Instead of using our own regular expression we are now using github.com/prometheus/common/expfmt to only export valid Prometheus metrics from the output of a script.
  • Change metrics exported via the /metrics endpoint. We now export the following metrics:
    • script_exporter_script_unknown_total
    • script_exporter_http_requests_inflight
    • script_exporter_http_requests_total
    • script_exporter_http_request_duration_seconds
    • script_exporter_config_last_reload_successful
    • script_exporter_config_last_reload_success_timestamp_seconds
  • Remove script_use_cache and script_use_expired_cache from the exported script metrics. Add script_cached which indicates if the script result was returned from the cache or not.
  • Remove Docker image from DockerHub. The Docker image is now only available via the GitHub Container Registry at https://github.com/ricoberger/script_exporter/pkgs/container/script_exporter.
  • Rework test setup and example scripts. The exporter can now be tested via docker compose -f docker-compose.yaml up --build --force-recreate.
  • Rework CI/CD pipelines.
  • Rework Windows service support.

Changed

v2.24.3

05 Apr 15:22
Compare
Choose a tag to compare

Fixed

v2.24.2

05 Apr 14:42
Compare
Choose a tag to compare

Fixed

Changed

v2.24.1

14 Mar 15:27
Compare
Choose a tag to compare

Fixed

Changed

v2.24.0

19 Jan 13:28
Compare
Choose a tag to compare

Added

Changed

v2.23.0

10 Nov 10:36
Compare
Choose a tag to compare

Added

  • #162: Add configurable path for script-exporter config file @Monkman08

Fixed

Changed

v2.22.0

03 Aug 14:13
5316daa
Compare
Choose a tag to compare

Added

Changed

v2.21.0

20 Jul 14:02
ee1861d
Compare
Choose a tag to compare

Added

  • #146: feat: add parameter to allow return expired cache in case of errors @fgouteroux

Changed

v2.20.1

05 Jun 13:59
Compare
Choose a tag to compare

Fixed

Changed