windows_exporter icon indicating copy to clipboard operation
windows_exporter copied to clipboard

cache collector

Open Sixty502 opened this issue 1 year ago • 1 comments

Problem Statement

I enabled the Cache collector on 0.27.2 and used the query listed in the docs: windows_cache_copy_read_hits_total / windows_cache_copy_reads_total * 100 . The result is always zero. When I looked at just windows_cache_copy_read_hits_total, it is always zero which seems to explain why the query is always zero.

I checked a machine running 0.24.0 and windows_cache_copy_read_hits_total is not zero.

Environment

  • windows_exporter Version: 0.27.2
  • Windows Server Version: WS19, WS22

Sixty502 avatar Aug 21 '24 01:08 Sixty502

One thing I noticed is that windows_cache_copy_read_hits_total shows as a gauge in 0.24.0 (working) but is now a counter.

Sixty502 avatar Aug 21 '24 16:08 Sixty502

Hi @Sixty502 could you test https://github.com/prometheus-community/windows_exporter/actions/runs/10623448322/artifacts/1872263723 if its solve your issue?

jkroepke avatar Aug 29 '24 22:08 jkroepke

It appears to. Thanks!

Sixty502 avatar Aug 31 '24 04:08 Sixty502