Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing IIS Counter (perflibWebService) #1406

Open
ange-black69 opened this issue Feb 13, 2024 · 2 comments
Open

Missing IIS Counter (perflibWebService) #1406

ange-black69 opened this issue Feb 13, 2024 · 2 comments

Comments

@ange-black69
Copy link

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 :

  • Resynched the counter WINMGMT.EXE /RESYNCPERF
  • Restarted the Performance logs and Alerts Service Get-Service -Name "pla" | Restart-Service -Verbose
    However, I have not Restarted the WMI service itself (refering this issue : missing IIS metrics #64)

Thank you for your help!

Copy link

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
Copy link
Contributor

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 github-actions bot removed the Stale label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants