github prometheus-community/windows_exporter v0.31.0

latest releases: v0.31.2, v0.30.9, v0.31.1...
2 months ago

Release Notes

Container collector refactored

windows_exporter 0.31 introduces a refactored container collector using the modern HCS v2 API, bringing support for HostProcess containers. Additionally, metrics for containerd-run containers in Kubernetes now include Kubernetes-specific labels like pod and namespace, enhancing observability.

Config File Validation & Remote Config File Support Removed:

windows_exporter now validates configuration on startup, failing on unknown keys. Remote configuration file support has been removed.

What's Changed

💥 Breaking Changes

  • time: windows_time_clock_frequency_adjustment_ppb_total -> windows_time_clock_frequency_adjustment_ppb and add windows_time_clock_frequency_adjustment metric for Win2016 by @jkroepke in #1910
  • process: rename windows_process_start_time -> windows_process_start_time_seconds_timestamp by @jkroepke in #1858
  • config: remove remote config files by @jkroepke in #1877
  • net: move net IP addresses from windows_net_nic_info to windows_net_nic_address_info and introduce mac addresses by @jkroepke in #1940
  • logon: deprecate collector. Use terminal_services instead by @jkroepke in #1957
  • update: fix naming flags (renamed --collector.updates.* to --collector.update.*) (click PR number for more information) by @neonwhiskers in #1986
  • docs: Remove CLI flag telemetry.max-requests and hardcoded to 1. by @jkroepke in #2030
  • update: remove deprecated flags by @jkroepke in #2113
  • logon: remove logon collector. Use terminal_services instead. by @jkroepke in #2114
  • system: remove windows_system_boot_time_timestamp_seconds by @jkroepke in #2112
  • os: remove deprecated metrics by @jkroepke in #2116
  • cs: remove deprecated cs collector by @jkroepke in #2115

✨ Exciting New Features

🐞 Bug Fixes

  • time: fix panic if counters aren't present by @jkroepke in #1898
  • fix: log to the Windows temp directory if of service detection failures. by @jkroepke in #1890
  • ci: fix checksum by @jkroepke in #1905
  • terminal_services: fix panic in collect by @jkroepke in #1906
  • netframework: fix metric names (re-add the collector sub-type to metrics) by @jkroepke in #1908
  • fix: Support running as Windows Service within containers by @jkroepke in #1907
  • fix: buffer length panic by @jkroepke in #1936
  • hyperv: fix Windows Server 2016 compatibility by @jkroepke in #1925
  • fix: return Windows 11 as product name, if build number is >= 22000 by @jkroepke in #1935
  • service: fix windows.EnumServicesStatusEx reports buffer too small by @jkroepke in #1954
  • mssql: support initial non default instances names by @jkroepke in #1958
  • memory: fix panics if metrics does not exists by @jkroepke in #1960
  • fix: windows_cpu_processor_utility_total is always 0 by @jkroepke in #1966
  • system: Metric windows_system_boot_time_timestamp returns a UNIX timestamp again. by @jkroepke in #1967
  • exchange: fix The specified counter could not be found by @jkroepke in #1994
  • service: fix inconsistent values for windows_service_start_mode by @jkroepke in #2007
  • terminal_services: Expose disconnected sessions agains by @jkroepke in #2026
  • tcp: relax metrics collectos on error by @jkroepke in #2041
  • update: export properties so that they can be read from yaml file by @kalleep in #2053
  • service: report invalid parameter errors as debug by @jkroepke in #2051
  • fix: Avoid COINIT_MULTITHREADED in CoInitializeEx by @jkroepke in #2066
  • config: fix validation error with empty config files by @jkroepke in #2080
  • logical_disk: skip unmounted volumes by @nicjansma in #2084
  • fix: added count checks by @jkroepke in #2083
  • dhcp: fix log level for dhcp server, if not present by @jkroepke in #2086
  • process: do not fail, if collector.process.iis is enabled and WMI WebAdministration is not present. by @jkroepke in #2082
  • diskdrive: fix not exposing state "Pred Fail" by @jkroepke in #2101
  • os: missing deprecated metric windows_os_processes by @jkroepke in #2104
  • iis: missing metrics if app-include is set. by @jkroepke in #2103
  • fix: add missing concurrency lock by @jkroepke in #2098
  • mssql: fix incorrect patch version in windows_mssql_instance_info by @NieznajomyPL in #2109
  • mssql: fix ratio based counter by @jkroepke in #2096

🛠️ Dependencies

  • chore(deps): bump github.com/prometheus/client_golang from 1.21.0-rc.0 to 1.21.0 by @dependabot in #1899
  • chore(deps): bump github.com/prometheus/client_golang from 1.21.0 to 1.21.1 by @dependabot in #1919
  • fix: update dependencies by @jkroepke in #1920
  • fix(deps): update module github.com/prometheus/common to v0.63.0 by @renovate in #1932
  • chore(deps): update dependency windows to v2022 by @renovate in #1933
  • chore(deps): pin dependencies by @renovate in #1930
  • chore(deps): update dependency go to v1.24.1 by @jkroepke in #1937
  • chore(deps): update docker/login-action digest to 74a5d14 by @renovate in #1938
  • chore(deps): update github actions by @renovate in #1942
  • chore(deps): update dependency golangci/golangci-lint to v1.64.8 by @renovate in #1943
  • chore(deps): update github actions by @renovate in #1944
  • chore(deps): update module golang.org/x/net to v0.38.0 by @renovate in #1974
  • chore(deps): update module google.golang.org/grpc to v1.71.1 by @renovate in #1971
  • chore(deps): update github actions by @renovate in #1969
  • chore(deps): update module github.com/prometheus/procfs to v0.16.0 by @renovate in #1973
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to ee84b53 by @renovate in #1970
  • chore(deps): update module google.golang.org/protobuf to v1.36.6 - autoclosed by @renovate in #1972
  • chore(deps): update golangci/golangci-lint-action action to v7 by @renovate in #1976
  • fix(deps): update golang.org/x/ by @renovate in #1980
  • chore(deps): update golang.org/x/ by @renovate in #1982
  • chore(deps): update module golang.org/x/net to v0.39.0 by @renovate in #1987
  • fix(deps): update module github.com/prometheus/client_golang to v1.22.0 by @renovate in #1988
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to de1ac95 by @renovate in #1992
  • fix(deps): update module github.com/prometheus/client_model to v0.6.2 by @renovate in #1993
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 207652e by @renovate in #2002
  • chore(deps): update dependency golangci/golangci-lint to v2.1.2 by @renovate in #2003
  • chore(deps): update module google.golang.org/grpc to v1.72.0 by @renovate in #2016
  • chore(deps): update module github.com/prometheus/procfs to v0.16.1 by @renovate in #2014
  • chore(deps): update dependency golangci/golangci-lint to v2.1.5 by @renovate in #2013
  • chore(deps): update github actions by @renovate in #2015
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 10db94c by @renovate in #2012
  • chore(deps): update github actions (major) by @renovate in #2017
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to f936aa4 by @renovate in #2022
  • chore(deps): update dependency golangci/golangci-lint to v2.1.6 by @renovate in #2023
  • chore(config): migrate renovate config by @renovate in #2027
  • chore(deps): update module google.golang.org/grpc to v1.72.1 by @renovate in #2033
  • chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 5a2f75b by @renovate in #2032
  • fix(deps): update module github.com/prometheus/common to v0.64.0 by @renovate in #2037
  • fix(deps): update golang.org/x/ by @renovate in #2035
  • chore(deps): update github actions by @renovate in #2034
  • fix(deps): update module github.com/microsoft/hcsshim to v0.13.0 by @renovate in #2036
  • chore(deps): update docker/build-push-action action to v6.18.0 by @renovate in #2067
  • chore(deps): update golang.org/x/ by @renovate in #2078
  • chore(deps): update docker/setup-buildx-action action to v3.11.1 by @renovate in #2088
  • fix(deps): update module github.com/prometheus/common to v0.65.0 by @renovate in #2095
  • chore(deps): update module github.com/prometheus/procfs to v0.17.0 by @renovate in #2111
  • chore(deps): update dependency golangci/golangci-lint to v2.2.1 by @renovate in #2110

📖 Documentation

Other Changes

New Contributors

Full Changelog: v0.30.4...v0.31.0

Don't miss a new windows_exporter release

NewReleases is sending notifications on new releases.