Skip to content

Releases: prometheus-community/windows_exporter

v0.8.0

05 Aug 20:50
d01c669
Compare
Choose a tag to compare

Changes

This release brings some changes that you should be aware of when upgrading.

Timeouts

The exporter will now try to return within Prometheus timeout, even if all collectors have not yet finished. A new metric wmi_exporter_collector_timeout{collector="collector-name"} allows seeing when this happens.
The exporter does this by reading the scrape timeout automatically sent by Prometheus in the X-Prometheus-Scrape-Timeout-Seconds header, and subtracting a "safety margin" (default 0.5 seconds), then aborting when that time has passed. If your system is heavily loaded, you may need to increase this margin, and can do so with the new --scrape.timeout-margin flag.

Perflib

This release contains the first use of Perflib in the cpu collector to give a lower-overhead way of fetching data than WMI. If this works out well, we expect to convert a majority of the existing collectors to Perflib, which should alleviate a lot of the issues around WMI we've seen.

Enhancements

  • More detailed CPU metrics on Windows 2008R2 and higher (#334, thanks @wizardmatas!)
  • ThermalZone collector for reading system temperature (#359, thanks @StewartThomson!)
  • SQL collector now exposes error counters (#370, thanks @callvirtual!)
  • SQL collector now exposes transaction metrics (#372, thanks @callvirtual!)
  • Convert cpu collector to perflib (#335)
  • Timeout scrapes (#340)

Bugfixes

  • MSMQ collector was logging erronously (#327, thanks @marek-vrana!)
  • CPU usage metrics should be counters (#331, thanks @nbellowe!)
  • MSSQL metric dbreplica_transaction_delay_seconds was reported in microseconds instead of seconds (#351, thanks @sqlkabouter!)

v0.7.999-preview

25 May 12:18
Compare
Choose a tag to compare
v0.7.999-preview Pre-release
Pre-release

Changes

This is a preview release containing two changes we are considering:

  • #335: Using raw performance counters rather than WMI, which will both yield significantly faster scrapes, as well as avoiding some bugs in Windows related to WMI hanging periodically (eg #89)
  • #340: Aborting a scrape if there are stalls during the scrape, to ensure Prometheus gets a response even during high loads (#270)

Any feedback on these changes is very welcome as comments on the two above PRs!

About the version number

The Windows Installer framework requires a three-position version, and does not allow semver prerelease tags (-preview, in this case). It is also somewhat picky about which versions can be upgraded between. In order to both allow us to make patch releases on the 0.7 version, as well as support upgrading from this preview to a coming 0.8 release, patch number 999 was arbitrarily chosen.

v0.7.0

13 Mar 20:35
Compare
Choose a tag to compare

Enhancements

Other

  • A discussion was had, and a decision was made (#321) to not enforce WMI-only collection of metrics. We hope this will open up new interesting possibilities going forward, such as the above Containers metrics!

v0.6.0

01 Feb 20:28
517cd3b
Compare
Choose a tag to compare

Enhancements

  • It is now possible to pas all flags to the service when installing the MSI using the EXTRA_FLAGS parameter (#291, thanks @kpettijohn!)
  • Better error messages for textfile inputs that are not UTF-8 (#293, thanks @hairyhenderson!)
  • We now supply checksums for all release artifacts (#311)

Bug fixes

  • Windows Event log messages are no longer prefixed with a warning about missing log sources (#312)
  • An error was silently ignored when querying for IIS worker processes (#303, thanks @vlamug)

Other

v0.5.0

18 Nov 20:47
2766f0e
Compare
Choose a tag to compare

Enhancements

  • memory collector for exposing more information about memory usage (#266, thanks @aswhit1!)
  • We now have documentation for all the collectors in the docs/ directory. Help with extending the info around practical usages would be very appreciated! (#113)

Bug fixes

  • The textfile collector now handles different Unicode byte order markers (BOMs) that may be present from some tools (such as Powershell). (#285, thanks @hairyhenderson)

v0.4.4

13 Nov 15:59
cb9da1a
Compare
Choose a tag to compare

Bug fixes

  • Sanitize MSSQL instance names

v0.4.3

17 Aug 05:41
fe7e5cb
Compare
Choose a tag to compare

Bug fixes

  • Don't panic when no results are returned due to WMI issues on the machine (#241, thanks @szook)

v0.4.2

04 Aug 06:35
bad1e7f
Compare
Choose a tag to compare

Enhancements

  • Add AccessMethod class to MSSQL collector (#236, thanks @szook!)

Bug fixes

v0.4.1

03 Aug 14:28
96dd456
Compare
Choose a tag to compare

Bug fixes

  • Typo in MSSQL metric name (#234, thanks @szook!)

v0.4.0

02 Aug 06:44
Compare
Choose a tag to compare

New features

Enhancements

  • Add the IIS Worker process name to the label for the process collector (#227, thanks @szook!)