logical_disk: remove the *_latency_seconds_total counters (#2763)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-16 20:41:42 +02:00
committed by GitHub
parent f1e6b49c54
commit 3555e9c4bc
9 changed files with 57 additions and 84 deletions
+4 -1
View File
@@ -530,7 +530,7 @@ Multiply the new ratios by 100 to get the old values; alert on `windows_dfsr_vol
These metrics keep their values. The name changed to add the unit, to describe the value or, for counters, to put the unit before the `_total` suffix. If Prometheus scrapes with OpenMetrics, the stored names of these counters change as well.
<details>
<summary>Show the table (95 metrics)</summary>
<summary>Show the table (97 metrics)</summary>
| 0.31 | 0.32 | Note |
|-------------------------------------------------------------------------|---------------------------------------------------------------------------------|------|
@@ -601,6 +601,8 @@ These metrics keep their values. The name changed to add the unit, to describe t
| `windows_iis_total_worker_process_shutdown_failures` | `windows_iis_worker_process_shutdown_failures_total` | Same value |
| `windows_iis_total_worker_process_startup_failures` | `windows_iis_worker_process_startup_failures_total` | Same value |
| `windows_iis_total_worker_processes_created` | `windows_iis_worker_processes_created_total` | Same value |
| `windows_logical_disk_read_latency_seconds_total` | `windows_logical_disk_read_seconds_total` | Same value |
| `windows_logical_disk_write_latency_seconds_total` | `windows_logical_disk_write_seconds_total` | Same value |
| `windows_mscluster_cluster_add_evict_delay` | `windows_mscluster_cluster_add_evict_delay_seconds` | Same value |
| `windows_mscluster_cluster_clus_svc_hang_timeout` | `windows_mscluster_cluster_clus_svc_hang_timeout_seconds` | Same value |
| `windows_mscluster_cluster_clus_svc_regroup_opening_timeout` | `windows_mscluster_cluster_clus_svc_regroup_opening_timeout_seconds` | Same value |
@@ -813,6 +815,7 @@ If Prometheus scrapes with OpenMetrics, it already stored exactly these names, b
| `windows_memory_free_system_page_table_entries` | Saturates near 2^32 on 64-bit Windows, where system PTEs are not a scarce resource |
| `windows_logical_disk_avg_read_requests_queued` | Running sum that only grew, never an average queue length. Use `rate(windows_logical_disk_read_seconds_total[5m])` |
| `windows_logical_disk_avg_write_requests_queued` | Running sum that only grew, never an average queue length. Use `rate(windows_logical_disk_write_seconds_total[5m])` |
| `windows_logical_disk_read_write_latency_seconds_total` | Sum of the read and write busy time, never a latency. Use `rate(windows_logical_disk_read_seconds_total[5m]) + rate(windows_logical_disk_write_seconds_total[5m])` |
| `windows_cache_data_map_hits_percent` | Deprecated in earlier 0.32 builds. It was the raw hit count, not a percentage. Use `rate(windows_cache_data_map_hits_total[5m]) / rate(windows_cache_data_maps_total[5m])` |
| `windows_mscluster_cluster_quorum_log_file_size`, `windows_mscluster_cluster_resource_dll_deadlock_period` | Obsolete cluster properties without a meaning on supported Windows versions |
| `windows_hyperv_hypervisor_virtual_processor_time_total` | Duplicate. Use `windows_hyperv_hypervisor_virtual_processor_mode_time_seconds_total` |
+6
View File
@@ -386,6 +386,12 @@ groups:
expr: windows_iis_server_file_cache_max_memory_bytes
- record: windows_iis_worker_file_cache_max_memory_bytes_total
expr: windows_iis_worker_file_cache_max_memory_bytes
- name: windows_exporter-0.32-logical_disk
rules:
- record: windows_logical_disk_read_latency_seconds_total
expr: windows_logical_disk_read_seconds_total
- record: windows_logical_disk_write_latency_seconds_total
expr: windows_logical_disk_write_seconds_total
- name: windows_exporter-0.32-memory
rules:
- record: windows_memory_commit_limit