Skip to content

Instantly share code, notes, and snippets.

@tayl0r
Last active April 22, 2019 02:38
Show Gist options
  • Save tayl0r/e665c5b784289c647fdd to your computer and use it in GitHub Desktop.
Save tayl0r/e665c5b784289c647fdd to your computer and use it in GitHub Desktop.
datadog wmi check config for IIS request queue
- class: Win32_PerfFormattedData_ASPNET_ASPNET
metrics:
- [RequestsCurrent, iis.asp.RequestsCurrent, gauge]
- [RequestsInNativeQueue, iis.asp.RequestsInNativeQueue, gauge]
- [RequestsQueued, iis.asp.RequestsQueued, gauge]
- [RequestsRejected, iis.asp.RequestsRejected, gauge]
- [RequestWaitTime, iis.asp.RequestWaitTime, gauge]
tag_by: Name
# i have a mixed web-api (90%) and MVC (10%) app running on Windows Server 2012 / IIS 8 on .NET 4.5.2
# what i'm trying to track is if any requests are getting queued and/or rejected.
# and i think the best source for those metrics is from "HTTP Service Request Queues"
# from here: http://msdn.microsoft.com/en-us/library/windows/desktop/cc307239(v=vs.85).aspx
# but, i cannot find those im WMI.
# those ASP.NET stats also give data but they weren't matching up 100% with "HTTP Service Request Queues",
# so I'm not sure which are more accurate or what the difference is. It could just be timing / rate of measurement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment