Releases: ricoberger/script_exporter
Releases · ricoberger/script_exporter
v3.0.1
Fixed
- #200: Fix Build for Binaries @ricoberger
Changed
- #201: Test Docker Build in Continuous Integration GitHub Action @ricoberger
- #198: Bump golang.org/x/net from 0.36.0 to 0.38.0 @dependabot[bot]
v3.0.0
Breaking Changes
- Rename all command-line flags. See Command-Line Flags in the readme for all available command-line flags.
- Remove
tls
,bearerAuth
andbasicAuth
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 andprefix
option from the script discovery configuration. The metrics can't be prefixed anymore. - Remove
output
parameter andignoreOutputOnFail
option from script configuration. Instead theoutput
option in the script configuration can now be used. - Remove
script
option from script configuration. Insteadcommand
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 removecacheDuration
anduseExpiredCacheOnError
options. - Rename
allowEnvOverwrite
option in the script configuration toallow_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
andscript_use_expired_cache
from the exported script metrics. Addscript_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
- #195:
⚠️ Breaking change:⚠️ Update Helm Chart for v3 @ricoberger - #194: Bump golang.org/x/net from 0.34.0 to 0.36.0 @dependabot[bot]
- #181: Bump the gomod group across 1 directory with 3 updates @dependabot[bot]
- #193:
⚠️ Breaking change:⚠️ Rework v3 @ricoberger
v2.24.3
Fixed
- #192: Fix CI/CD Pipeline for Binaries @ricoberger
v2.24.2
Fixed
- #191: Don't Wait for IO Pipes to be Closed @ricoberger
Changed
- #189: Bump golangci/golangci-lint-action from 6 to 7 in the github-actions group @dependabot[bot]
- #188: Bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 @dependabot[bot]
v2.24.1
Fixed
- #185: Fix Docker Instructions in Readme @ricoberger
Changed
- #187: Bump golang from 1.24.0 to 1.24.1 in the docker group @dependabot[bot]
- #186: Use
docker/metadata-action
to Tag Docker Images @ricoberger - #184: Helm Chart: Adjust ServiceMonitors @ricoberger
- #180: Bump the docker group with 2 updates @dependabot[bot]
- #178: Bump the docker group with 2 updates @dependabot[bot]
- #176: Use GitHub Container Registry to Store Helm Chart @ricoberger
v2.24.0
Added
Changed
- #173: Bump the gomod group with 2 updates @dependabot
- #174: Bump the docker group with 2 updates @dependabot
- #168: Bump golang from 1.23.2 to 1.23.3 in the docker group @dependabot
v2.23.0
Added
- #162: Add configurable path for script-exporter config file @Monkman08
Fixed
- #166: Fix Race Condition when Cache is Used @ricoberger
Changed
- #165: Bump the gomod group across 1 directory with 2 updates @dependabot
- #164: Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 @dependabot
- #160: Bump golang from 1.23.1 to 1.23.2 in the docker group @dependabot
- #161: Bump the gomod group with 3 updates @dependabot
- #154: Bump the gomod group with 3 updates @dependabot
- #153: Bump the docker group across 1 directory with 2 updates @dependabot
- #151: Bump the gomod group with 3 updates @dependabot
v2.22.0
Added
- #149: Add GitHub Container Registry @ricoberger
Changed
- #147: Bump the docker group with 2 updates @dependabot
- #148: Bump golang.org/x/sys from 0.21.0 to 0.22.0 in the gomod group @dependabot
v2.21.0
Added
- #146: feat: add parameter to allow return expired cache in case of errors @fgouteroux
Changed
- #145: Bump the gomod group with 2 updates @dependabot
- #143: Bump docker/build-push-action from 5 to 6 in the github-actions group @dependabot
- #144: Bump the docker group with 2 updates @dependabot
v2.20.1
Fixed
- #142: fix: overwriting the env was changing the loaded config @jonasbadstuebner
Changed
- #139: Bump the gomod group with 2 updates @dependabot
- #141: Bump the docker group with 2 updates @dependabot
- #140: Bump golangci/golangci-lint-action from 5 to 6 in the github-actions group @dependabot