prometheus-community / windows_exporter

Prometheus exporter for Windows machines
MIT License
2.92k stars 704 forks source link

Missing IIS Counter (perflibWebService) #1406

Open ange-black69 opened 9 months ago

ange-black69 commented 9 months ago

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 : image

I have already :

Thank you for your help!

github-actions[bot] commented 6 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.

breed808 commented 6 months ago

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?

github-actions[bot] commented 3 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.