BREAKING CHANGES:
- [CHANGE]
- [FEATURE]
- [ENHANCEMENT]
- [BUGFIX]
- [BUGFIX] Randomize ICMP Echo ID in probes to avoid SNAT session collisions that could drop replies for some clients.
BREAKING CHANGES:
- The
--log.proberflag behavior has changed. The scrape probe logger is now an independent logger. Please review the README.md and adjust configurations as needed. #1461 - Log leveling has been improved for several prober modules. Changes include logging errors at
ERRORlevel instead ofINFO, and adjusting many prober logs fromINFOtoDEBUGlevel. To see more detailed probe logs, set--log.prober=debug. #1461
Changes:
- [CHANGE] Make default HTTP User-Agent compliant with RFC9110 (now
Blackbox-Exporter/<version>) #1446 - [CHANGE] Config is not reloaded if the file content didn't change when using all reload methods #1464
- [FEATURE] Support HTTP/3 (QUIC) prober #1425
- [FEATURE] Add support for configuring gRPC metadata in gRPC prober #956
- [FEATURE] Implement byte matching in TCP query responses #1441
- [FEATURE] Add a new type of probe using unix domain sockets #1480
- [FEATURE] Support config reload automatically - feature flag
config.enable-auto-reload,config.auto-reload-interval#1464 - [BUGFIX] Fix retrieving probe logs by target name when probed by multiple modules #1257
- [BUGFIX] Fix error handling in auto-reload config case #1478
- [BUGFIX] Fix
debugparam log output work regardless of log level #1438
- [FEATURE] Support matching JSON body with CEL expressions #1255
- [BUGFIX] Fix condition when local dns lookup should happen #1272
- [BUGFIX] Stop scrape logger spam #1381
- [CHANGE] adopt log/slog, drop go-kit/log #1311
- [FEATURE] Add metric to record tls ciphersuite negotiated during handshake #1203
- [FEATURE] Add a way to export labels with content matched by the probe #1284
- [FEATURE] Reports Certificate Serial number #1333
- [ENHANCEMENT] Enable misspell linter #1248
- [ENHANCEMENT] Fix incorrect parameters name in documentation #1126
- [ENHANCEMENT] Add stale workflow to start sync with stale.yaml in prometheus #1170
- [ENHANCEMENT] Update CONFIGURATION.md to clarify that valid_status_codes expects a list #1335
- [ENHANCEMENT] Skip failing IPv6 tests in test CI Pipeline #1342
- [ENHANCEMENT] Add RabbitMQ probe example #1349
- [BUGFIX] Only register grpc TLS metrics on successful handshake #1338
- [FEATURE] Allow to get Probe logs by target #1063
- [FEATURE] Log errors from probe #1091
- [BUGFIX] Prevent logging confusing error message #1059
- [BUGFIX] Explicit registration of internal exporter metrics 1060
- [CHANGE] Make Proxy Connect Headers consistent with Prometheus #1008
- [FEATURE] Add hostname parameter for TCP probe #981
- [FEATURE] Add support for HTTP request body as file #987
- [SECURITY] Update Exporter Toolkit (CVE-2022-46146) #979
- [FEATURE] Support multiple Listen Addresses and systemd socket activation #979
- [FEATURE] Add leaf certificate details in a new
probe_ssl_last_chain_infometric. #943 - [FEATURE] DNS: Add
Add probe_dns_query_succeededmetric. #990
- [FEATURE] HTTP: Add
skip_resolve_phase_with_proxyoption. #944 - [ENHANCEMENT] OAuth: Use Blackbox Exporter user agent when doing OAuth2 authenticated requests. #948
- [ENHANCEMENT] Print usage and help to stdout instead of stderr. #928
- [BUGFIX] Fix a data race in HTTP probes. #929
This Prometheus release is built with go1.18, which contains two noticeable changes related to TLS and HTTP:
- TLS 1.0 and 1.1 disabled by default client-side.
Blackbox Exporter users can override this with the
min_versionparameter of tls_config. - Certificates signed with the SHA-1 hash function are rejected. This doesn't apply to self-signed root certificates.
- [BUGFIX] Prevent setting negative timeouts when using a small scrape interval. #869
- [FEATURE] Add support for grpc health check. #835
- [FEATURE] Add hostname parameter. #823
- [ENHANCEMENT] Add body_size_limit option to http module. #836
- [ENHANCEMENT] Change default user agent. #557
- [ENHANCEMENT] Add control of recursion desired flag for DNS probes. #859
- [ENHANCEMENT] Delay init of http phase values. #865
- [BUGFIX] Fix IP hash. #863
In the HTTP probe, no_follow_redirects has been changed to follow_redirects.
This release accepts both, with a precedence to the no_follow_redirects parameter.
In the next release, no_follow_redirects will be removed.
- [CHANGE] HTTP probe:
no_follow_redirectshas been renamed tofollow_redirects. #784 - [FEATURE] Add support for decompression of HTTP responses. #764
- [FEATURE] Enable TLS and basic authentication. #730
- [FEATURE] HTTP probe: experimental OAuth2 support. #784
- [ENHANCEMENT] Add a health endpoint. #752
- [ENHANCEMENT] Add a metric for unknown probes. #716
- [ENHANCEMENT] Use preferred protocol first when resolving hostname. #728
- [ENHANCEMENT] Validating the configuration tries to compile regexes. #729
- [BUGFIX] HTTP probe: Fix error checking. #723
- [BUGFIX] HTTP probe: Fix how the TLS phase is calculated. #758