Open ange-black69 opened 9 months ago
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Apologies for the delayed response; the error indicates the % 503 HTTP Response Sent
counter is missing. Is that counter present when checking the counters with Get-Counter
?
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Hello,
I'm trying to expose some IIS metrics however some are missing, especially the CurrentConnections. Especially, it seems that everything related to perflibWebService is missing.
When running the exporter, I face this following error :
ts=2024-02-13T10:21:38.184Z caller=unmarshal.go:69 level=debug collector=iis msg="missing counter \"% 503 HTTP Response Sent\", have [Total Threads Metadata Cache Flushes % 404 HTTP Response Sent WebSocket Connection Attempts / Sec WebSocket Connections Accepted / Sec Total HTTP Requests Served Total Flushed URIs Total URIs Cached Metadata Cache Hits WebSocket Active Requests WebSocket Connections Rejected / Sec File Cache Hits Current URIs Cached Output Cache Total Misses % 403 HTTP Response Sent Maximum Threads Count File Cache Flushes Metadata Cache Misses / sec Maximum File Cache Memory Usage Output Cache Current Items Total Flushed Files File Cache Misses / sec Uri Cache Hits / sec _Base Metadata Cache Misses Output Cache Hits / sec Total Metadata Cached Total Flushed Metadata % 401 HTTP Response Sent Active Requests URI Cache Hits Active Threads Count Output Cache Total Flushed Items Requests / Sec Output Cache Total Hits Output Cache Current Memory Usage % 500 HTTP Response Sent Current File Cache Memory Usage Current Files Cached Metadata Cache Hits / sec URI Cache Misses Output Cache Current Flushed Items Total Files Cached Uri Cache Misses / sec URI Cache Flushes Current Metadata Cached Output Cache Total Flushes File Cache Hits / sec Output Cache Misses / sec File Cache Misses Active Flushed Entries]"
However, these counter does exist when running Get-Counter :
I have already :
WINMGMT.EXE /RESYNCPERF
Get-Service -Name "pla" | Restart-Service -Verbose
However, I have not Restarted the WMI service itself (refering this issue : https://github.com/prometheus-community/windows_exporter/issues/64)Thank you for your help!