github prometheus-community/windows_exporter v0.30.0-rc.0

pre-release17 hours ago

Technical Preview

windows_exporter is undergoing a modernization. We plan to deliver a stable release by mid-2025, with upcoming changes — including a newly designed Hyper-V collector — adding value to the official 1.0 stable release.

Windows Management Infrastructure (MI) as a Replacement for Windows Management Instrumentation (WMI)

As of version 0.30.0, windows_exporter no longer uses WMI directly. Instead, it utilizes its successor, Windows Management Infrastructure (MI), available since Windows Server 2012. MI offers several advantages, such as the ability to run queries in parallel.

Performance Data Helpers

windows_exporter 0.30 uses Performance Data Helpers instead grab and parse the binary data from the registry. This change also introduces support for Process V2, which is enabled by default on Windows Server 2022. In conclusion, the code from https://github.com/leoluk/perflib_exporter is removed.

💥 Breaking Changes

windows_exporter introduced an other wave of breaking changes. Sorry for that! The reason is that there is not enough maintainer capacity to hold backwards compatibility. Keep in mind, windows_exporter is using semver as versioning strategy and below version 1, backwards compatibility is not necessary.

On plan, this might be the last wave of breaking changes. All modernization steps are done and we are now looking for a stabilization and bug fixes phrase for now.

What's Changed

💥 Breaking Changes

  • *: replace --collectors.[name].* with --collector.[name].* flags (click PR number for more information) by @jkroepke in #1659
  • *: Remove teradici_pcoip and vmware_blast collector by @jkroepke in #1686
  • logon: BREAKING: replace wmi query by Win32 API calls and expose detailed logon sessions. (click PR for more information) by @jkroepke in #1687
  • chore: Switch to hostprocess base image and add support for Windows Server 2025 on Kubernetes (click PR number for more information) by @jkroepke in #1731
  • pagefile: BREAKING: move paging metrics from os to dedicated collector (click PR for more information) by @jkroepke in #1735
  • chore: Remove registry based perfdata collector by @jkroepke in #1742
  • hyperv: Refactor collector, added DataStore, Virtual SMB and Dynamic Memory Balancer metrics (click PR number for more information) by @jkroepke in #1712

✨ Exciting New Features

🐞 Bug Fixes

🛠️ Dependencies

  • chore(deps): bump golang.org/x/sys from 0.25.0 to 0.26.0 by @dependabot in #1675
  • chore(deps): bump github.com/prometheus/common from 0.59.2-0.20240918152650-14bac55a992f to 0.60.0 by @dependabot in #1674
  • chore(deps): bump github.com/bmatcuk/doublestar/v4 from 4.6.1 to 4.7.1 by @dependabot in #1689
  • chore(deps): bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 by @dependabot in #1701
  • chore(deps): bump github.com/prometheus/common from 0.60.0 to 0.60.1 by @dependabot in #1708
  • chore(deps): bump github.com/Microsoft/hcsshim from 0.12.7 to 0.12.8 by @dependabot in #1707
  • chore(deps): bump github.com/prometheus/exporter-toolkit from 0.13.0 to 0.13.1 by @dependabot in #1717
  • chore(deps): bump github.com/Microsoft/hcsshim from 0.12.8 to 0.12.9 by @dependabot in #1716
  • chore(deps): bump golang.org/x/sys from 0.26.0 to 0.27.0 by @dependabot in #1724
  • chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #1770

📖 Documentation

Other Changes

  • chore: disable quay.io push, since no credentials are available. by @jkroepke in #1733

New Contributors

Full Changelog: v0.29.2...v0.30.0-rc.0

Don't miss a new windows_exporter release

NewReleases is sending notifications on new releases.