Releases: prometheus-community/windows_exporter
v0.21.0
⚠️ Breaking Changes
--telemetry.addr
flag and configuration option for specifying the exporter listening address and port has been replaced with --web.listen-address
. See #1082 and #1092 for context.
What's Changed
- Update regex by @marnicgit in #1075
- Try to bump /x/sys to the current stable version to fix IsWindowsService() by @gillg in #1078
- Update collector.process.md by @marnicgit in #1077
- Add ARM64 builds to releases by @breed808 in #1055
- fix: Remove memory leaks in scheduled_task by @breed808 in #1080
- Add files via upload by @vear959595 in #1083
- Compatibily with new flag web.listen-address by @bck01215 in #1096
- Cleaning up listen addresses flags before parsing config file by @knabben in #1100
- Add cpu metrics based on newer and more accurate perflib sources by @higels in #1088
- fix: Continue os collection on missing page file by @breed808 in #1108
- Add scheduled_task flag examples by @breed808 in #1114
- Add Avg logical disk RW Queue metrics by @tehseenshahab in #1113
- Split CI/CD configuration by @breed808 in #1115
- Update deprecated Github Actions by @breed808 in #1117
- Fix CI release issues by @breed808 in #1118
Dependency Updates
-
chore(deps): bump github.com/prometheus/client_model from 0.2.0 to 0.3.0 by @dependabot in #1081
-
chore(deps)!: bump github.com/prometheus/exporter-toolkit from 0.7.1 to 0.8.1 by @dependabot in #1082
-
chore(deps): bump golang.org/x/sys from 0.1.0 to 0.2.0 by @dependabot in #1094
-
chore(deps): bump github.com/prometheus/client_golang from 1.13.0 to 1.14.0 by @dependabot in #1093
-
chore(deps): bump github.com/prometheus/exporter-toolkit from 0.8.1 to 0.8.2 by @breed808 in #1099
-
chore(deps): bump golang.org/x/sys from 0.2.0 to 0.3.0 by @dependabot in #1102
-
chore(deps): bump github.com/prometheus/common from 0.37.0 to 0.38.0 by @dependabot in #1104
-
chore(deps): bump github.com/Microsoft/hcsshim from 0.9.4 to 0.9.6 by @dependabot in #1109
-
chore(deps): bump github.com/prometheus/common from 0.38.0 to 0.39.0 by @dependabot in #1110
New Contributors
- @marnicgit made their first contribution in #1075
- @gillg made their first contribution in #1078
- @vear959595 made their first contribution in #1083
- @knabben made their first contribution in #1100
- @tehseenshahab made their first contribution in #1113
Full Changelog: v0.20.0...v0.21.0
v0.21.0-rc1
Pre-release for v0.21.0
for exposure of changes after v0.20.0
What's Changed
- Update regex by @marnicgit in #1075
- Try to bump /x/sys to the current stable version to fix IsWindowsService() by @gillg in #1078
- Update collector.process.md by @marnicgit in #1077
- Add ARM64 builds to releases by @breed808 in #1055
- fix: Remove memory leaks in scheduled_task by @breed808 in #1080
- chore(deps): bump github.com/prometheus/client_model from 0.2.0 to 0.3.0 by @dependabot in #1081
- Add files via upload by @vear959595 in #1083
- chore(deps)!: bump github.com/prometheus/exporter-toolkit from 0.7.1 to 0.8.1 by @dependabot in #1082
- chore(deps): bump perflib to v0.2.0 by @breed808 in #1084
- chore(deps): bump golang.org/x/sys from 0.1.0 to 0.2.0 by @dependabot in #1094
- chore(deps): bump github.com/prometheus/client_golang from 1.13.0 to 1.14.0 by @dependabot in #1093
- Compatibily with new flag web.listen-address by @bck01215 in #1096
- chore(deps): bump github.com/prometheus/exporter-toolkit from 0.8.1 to 0.8.2 by @breed808 in #1099
- Cleaning up listen addresses flags before parsing config file by @knabben in #1100
- chore(deps): bump golang.org/x/sys from 0.2.0 to 0.3.0 by @dependabot in #1102
- Add cpu metrics based on newer and more accurate perflib sources by @higels in #1088
- chore(deps): bump github.com/prometheus/common from 0.37.0 to 0.38.0 by @dependabot in #1104
- fix: Continue os collection on missing page file by @breed808 in #1108
- chore(deps): bump github.com/Microsoft/hcsshim from 0.9.4 to 0.9.6 by @dependabot in #1109
- Add scheduled_task flag examples by @breed808 in #1114
- chore(deps): bump github.com/prometheus/common from 0.38.0 to 0.39.0 by @dependabot in #1110
- Add Avg logical disk RW Queue metrics by @tehseenshahab in #1113
- Split CI/CD configuration by @breed808 in #1115
- Update deprecated Github Actions by @breed808 in #1117
New Contributors
- @marnicgit made their first contribution in #1075
- @gillg made their first contribution in #1078
- @vear959595 made their first contribution in #1083
- @bck01215 made their first contribution in #1096
- @knabben made their first contribution in #1100
- @tehseenshahab made their first contribution in #1113
Full Changelog: v0.20.0...v0.21.0-rc1
v0.20.0
Notable Bugfixes
- Fixed exporter failing to start while the host system is under load (typically during Windows updates) by @jammiemil in #1047
🐛 Known Bugs
- The
scheduled_task
collector appears to be leaking memory #1063 - Collectors using the WMI metric source may experiencing memory leaks #813
What's Changed
-
chore(deps): bump github.com/Microsoft/hcsshim from 0.9.3 to 0.9.4 by @dependabot in #1029
-
chore(deps): bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 by @dependabot in #1030
-
chore(deps): bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 by @dependabot in #1041
-
chore(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 by @dependabot in #1028
-
Fix Error "Service Access is denied" in service collector useApi by @alvarocabanas in #1036
-
Add Hyper-V Hypervisor Logical Processor metrics by @gloyka in #1034
-
Export extra version information by @benridley in #1051
-
Document recent changes to os_build_info metric by @breed808 in #1052
-
Added documentation for iis collector by @kaffarell in #1060
-
fix PercentTimeinGC metric by @trunov-ms in #999
-
Update collector.logon.md by @kaffarell in #1061
-
Added WebService uptime metric in iis collector by @kaffarell in #1059
-
Update collector.mssql.md by @shivsepra in #1065
New Contributors
- @gloyka made their first contribution in #1034
- @jammiemil made their first contribution in #1047
- @kaffarell made their first contribution in #1060
- @trunov-ms made their first contribution in #999
- @shivsepra made their first contribution in #1065
Full Changelog: v0.19.0...v0.20.0
v0.19.0
What's Changed
- Add HostProcess Container Configuration for k8s by @jsturtevant in #864
- Ensure CPU time description matches
mode
flag by @breed808 in #925 - Check default collector metrics with promtool by @breed808 in #907
- Run CI on pushes to master branch by @breed808 in #945
- feat: add storage metrics for container collector by @szediktam in #943
- fix: typo of container docs by @szediktam in #949
- Fix image build issues by @breed808 in #948
- Fix formatting for kubernetes documentation by @jsturtevant in #963
- Bump github.com/prometheus/common from 0.32.1 to 0.33.0 by @dependabot in #965
- Fix memory collector promtool metric issues by @mjtrangoni in #913
- Resolve recent CI issues by @breed808 in #970
- Bump github.com/prometheus/common from 0.33.0 to 0.34.0 by @dependabot in #977
- Add Hyper-V VM Memory metrics by @andbanman in #971
- Adding Scheduled Tasks Collector by @mousavian in #821
- Use
powershell
image for firewall init container by @breed808 in #969 - replace these deprecated functions by @yangliyl in #982
- Skip processing files with duplicates metrics by @breed808 in #968
- Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2 by @dependabot in #988
- Bump github.com/go-ole/go-ole from 1.2.5 to 1.2.6 by @dependabot in #989
- Bump github.com/go-kit/log from 0.2.0 to 0.2.1 by @dependabot in #990
- Bump github.com/Microsoft/hcsshim from 0.9.2 to 0.9.3 by @dependabot in #995
- Continue OS collector on absent paging file by @breed808 in #954
- Bump github.com/prometheus/common from 0.34.0 to 0.35.0 by @dependabot in #1003
- Add support for MSCluster collectors by @sstorie in #885
- Update kubernetes.md by @gopihc in #1012
- Update collector.fsrmquota.md by @Woldelig in #1020
- chore(deps): bump github.com/prometheus/common from 0.35.0 to 0.37.0 by @dependabot in #1021
- fix: remove UpdateDomain (mscluster-resourcegroup) by @alexwiedermann in #1025
- Skip missing IIS instances by @breed808 in #1015
- Add content write permissions to GITHUB_TOKEN by @breed808 in #1026
New Contributors
- @szediktam made their first contribution in #943
- @andbanman made their first contribution in #971
- @mousavian made their first contribution in #821
- @yangliyl made their first contribution in #982
- @sstorie made their first contribution in #885
- @gopihc made their first contribution in #1012
- @Woldelig made their first contribution in #1020
- @alexwiedermann made their first contribution in #1025
Full Changelog: v0.18.1...v0.19.0
v0.18.1
v0.18.0
⚠️ Breaking changes
- Added missing "_total" suffix to counter metrics in
tcp
collector (#905, thanks @mjtrangoni!). Metrics were previouslywindows_tcp_connection_failures
,windows_tcp_connections_active
,windows_tcp_connections_passive
andwindows_tcp_connections_reset
. - Removed "_count" suffix from non-histogram and non-summary metrics in the
process
,terminal_services
andtime
collectors (#901, thanks @mjtrangoni!). Metrics were previouslywindows_process_handle_count
,windows_process_thread_count
,windows_terminal_services_handle_count
,windows_terminal_services_thread_count
andwindows_time_ntp_client_time_source_count
.
Enhancements
- Added collector for Active Directory Certificate Services (#895, thanks @akrauza!)
- Added additional metrics to the
adfs
collector (#909, thanks @akrauza!)
Bug fixes
- Fixed default listening port behavior for MSI installations (#912)
- Fixed end-to-end test failures in CI with
client_golang
>= v1.12.0 (#924) - Fixed
iis
collector returning errors with IIS versions greater than 7 (#921, thanks @aymericDD!)
Changes
- Added Github Action for spell checking changes (#896, thanks @mjtrangoni!)
- Replaced Appveyor badge with Github Actions badge in README (#906, thanks @mjtrangoni!)
- Updated README with ADCS documentation link (#908, thanks @akrauza!)
🐛 Known Bugs
- Collectors using the WMI metric source may experiencing memory leaks (#813).
v0.17.1
v0.17.0
⚠️ Breaking changes
- Fixed typo in
windows_process_memory_limit_bytes
metric (#805, thanks @max-len!). Metric was previouslywindows_process_memory_limix_bytes
- Added unit to
windows_net_current_bandwidth_bytes
metric (#804, thanks @max-len!). Metric was previouslywindows_net_current_bandwidth
. - Added unit to
windows_process_working_set_bytes
metric (#809). Metric was previouslywindows_process_working_set
.
Enhancements
- Replaced WMI in cs and os collectors (#702, thanks @benridley and @retryW!)
- Added collector benchmarks (#744)
- Added API collection source for the
service
collector (#812, thanks @carlossscastro and @roobre!). This collection source is non-default and can be enabled with the--collector.service.use-api
flag (or corresponding configuration file option). textfile
collector: Set relative default path for textfile collector (#848, thanks @ArtamonovEvgenii)
Bug fixes
- Fixed sha265sum file content from builds (#765)
- Prevented
msmq
collector from only collecting from theComputer Queues
queue (#783) - Corrected layout of SystemInfo structs (#788, thanks @benridley!)
- Replaced deprecated log library in remaining collectors (#802)
- Fixed
textfile
collector crashes with duplicate metrics (#759) - Added missing
process
collector metricswindows_process_working_set_private_bytes
and `windows_process_working_set_peak_bytes (#809) - Fixed memory leak with
service
collector API source (#840, thanks @alvarocabanas!) thermalzone
collector: return error on empty result (#841)- Fixed default path for
textfile
collector (#882, thanks @geraudster!) - Fixed missing metrics for IIS version >= 8 (#887, thanks @SouenMazouin!)
- Fixed memory leak for collectors using Perflib metric source (#891, thanks @datamuc!)
- Removed explicit LISTEN_PORT from MSI installer (#883)
Changes
- Corrected
windows_tcp_connections_established
metric type in collector documentation (#736, thanks @basroovers!) - Fixed typo on
remote_interactive
example inlogon
collector (#748, thanks @majerus1223!) - Updated CI to install tools with go install rather than go get (#753)
- Added
[defaults]
collector example in README (#698, thanks @ramonsmits!) service
collector: add configuration example (#767, thanks @louij2!)- Corrected "Enabled by default?" value in
memory
collector (#778, thanks @Wittionary!) - Added a 'data source' field to specify hcsshim of Host Compute Services in Hyper-V is used (#789, thanks @Wittionary!)
- Added missing
core
flag tocpu
collector docs (#807, thanks @max-len!) logical_disk
collector : Document expected delays in the size metrics (#846, thanks @JDA88!)- Updated MAINTAINERS with security contacts (#861)
- Replaced deprecated
IsAnInteractiveSession
function withIsWindowsService
(#863, thanks @jsturtevant!) - Fixed typo in
net
collector documentation:windows_net_packets_received_total_total
->windows_net_packets_received_total
(#869, thanks @rnjstjdgh!) - Updated project dependencies (#862, #873, #876, #874, #884)
- Added Dependabot for semi-automated dependency updates (#871).
- Fixed and updated
golangci-lint
reported issues (#892, thanks @mjtrangoni!)
🐛 Known Bugs
- Collectors using the WMI metric source may experiencing memory leaks (#183).
v0.16.0
⚠️ Breaking changes
- Added missing
_total
suffix toadfs
andnet
collector counters (#667) - Renamed
mssql
collectorinstance
label tomssql_instance
to prevent conflicts with the default Prometheusinstance
label (#691) - Removed
_total
suffix fromwindows_dns_memory_used_bytes
metric (#706)
Enhancements
- Experimental: Added
smtp
collector for the IIS SMTP service (#657) - Experimental: Added
dfsr
collector for the DFS Replication service (#671) container
collector now correctly sets prefix forcontainer_id
label for containerd (#716, thanks @jsturtevant!)- Experimental: Added HTTPS support (#693)
- Added
cache
collector for the Windows file system cache (#723) - Added
cpu_info
collector, exposing per-socket breakdown of system processors (#726, thanks @higels!)
Bug fixes
- Fixed issue with
mssql
collector where collector would always fail after an initial failure (#671)
Changes
- Clarified supported versions of Windows (#622)
- Updated Prometheus client library to v1.8.0 (#669)
- Added end-to-end testing script for CI (#672)
- Added common Prometheus SECURITY file (#699)
- Documented required version for
time
collector (#689) - Fixed metric name in docs for
windows_net_packets_outbound_discarded_total
(#717, thanks @jsturtevant!)
v0.15.0
⚠️ Breaking changes
windows_mssql_transactions_active_total
has been removed, and is replaced by windows_mssql_transactions_active
(see below)
Enhancements
- Specific allowed remote IPs can now be set on the firewall rule created by the installed. The default is still to allow any machine access. (#608, thanks @siku4!)
- TCP collector now uses perflib instead of WMI, which will lead to faster collection times (#615, thanks @mallenLF!)
- TCP collector now exposed both IPv6 statistics in addition to the IPv4 statistics previously exposed. There is a new label
af
(address family) which lets you separate the two (#615, thanks @mallenLF!) - The windows_exporter.exe file now has version information set (#563)
- Add a
time
collector with metrics about the Windows Time Service (#639) - Add a
collect[]
url parameter if you need to customize what collectors to use per-scrape (#640, thanks @fischerman!) - Add a
--collectors.exchange.enabled
flag to restrict which subcollectors are enabled on theexchange
collector (#642, thanks @fischerman!) - Add support for configuration files as a complement to command line flags (#638)
Bug fixes
- Fix a panic in the hyperv collector when WMI data is in the wrong format (#632)
windows_mssql_transactions_active_total
was erronously a counter, and has been replaced by a gaugewindows_mssql_transactions_active
(#636)
Changes
- The WMI library has been upgraded, which will hopefully fix rare memory leaks on some systems (#631, thanks @dcrn)
- Build exporter with Go 1.15 (#630, thanks @snoyberg!)
- Change the ordering of operations during upgrades, so that the old version is shut down before installing the new one (#597)
- Add a dependency on the WMI Performance Adapter for service start. This attempts to fix the exporter not starting at boot for some systems, please let us know if you still see the exporter failing to start (#645)