Microsoft IIS extension

  • Latest Dynatrace
  • Extension
  • Published Oct 27, 2025

Observe IIS performance and availability on Windows Server with Dynatrace.

With Dynatrace you will get observability for IIS without touching any code through auto-instrumentation.

Get started

Activate the IIS Extension to get additional metrics, a custom IIS dashboard, and the ability to view IIS Instances, App Pools and Sites on Unified Analysis pages.

Activate log monitoring to get full log insight.

Overview

More information is available here.

Requirements

If IIS is running directly on a virtual machine, [install OneAgent](/#install) on that virtual machine to get started.

Details

IIS Site and App Pool WMI Queries

To limit monitoring to specific IIS Sites or App Pools, adjust the variables to focus only on the Sites or App Pools you are interested in monitoring.

Each variable is a WHERE clause for the WMI query in WQL format. See WQL Queries for more information.

Example queries

  • Monitor a specific site: Name = 'Default Web Site'
  • Monitor all sites that contain "MySite": Name LIKE '%MySite%'
  • Monitor all sites (default): Name != '_Total'

The names for IIS Sites and App Pools are available by splitting by iis_site or iis_app_pool for the appropriate metrics. However, the datasource removes spaces from the names. To be sure the query is correct, use the names as displayed in Windows IIS Manager.

Feature sets

When activating your extension using monitoring configuration, you can limit monitoring to one of the feature sets. To work properly the extension has to collect at least one metric after the activation.

In highly segmented networks, feature sets can reflect the segments of your environment. Then, when you create a monitoring configuration, you can select a feature set and a corresponding ActiveGate group that can connect to this particular segment.

All metrics that aren't categorized into any feature set are considered to be the default and are always reported.

A metric inherits the feature set of a subgroup, which in turn inherits the feature set of a group. Also, the feature set defined on the metric level overrides the feature set defined on the subgroup level, which in turn overrides the feature set defined on the group level.

WWW publishing service cache
Metric nameMetric keyDescription
File cache hitsiis.W3SVC_WebServiceCache.FileCacheHits.countTotal number of successful lookups in the user-mode file cache (since service startup).
Kernel URI cache hitsiis.W3SVC_WebServiceCache.KernelURICacheHits.countTotal number of successful lookups in the kernel URI cache (since service startup).
Output cache current hits percentiis.W3SVC_WebServiceCache.OutputCacheCurrentHitsPercentOutput Cache current hit ratio. Calculated as (H)/(H+M) where H and M represent Hits and Misses in previous sample interval respectively.
WAS worker process
Metric nameMetric keyDescription
Active listener channelsiis.WASW3WP.ActiveListenerChannelsNumber of currently active listener channels in the worker process.
Active protocol handlersiis.WASW3WP.ActiveProtocolHandlersNumber of currently active protocol handlers in the worker process.
Health ping reply latencyiis.WASW3WP.HealthPingReplyLatencyTime, in 100 nanosecond increments, taken by worker process to reply to last health ping.
IIS Extended Request Metrics
Metric nameMetric keyDescription
Total HEAD Requestsiis.total.head.requests.countThe number of HTTP requests using the HEAD method (since service startup). Head requests generally indicate a client is querying the state of a document they already have to see if it needs to be refreshed.
Total PUT Requestsiis.total.put.requests.countThe number of HTTP requests using the PUT method (since service startup).
Total DELETE Requestsiis.total.delete.requests.countThe number of HTTP requests using the DELETE method (since service startup). Delete requests are generally used for file removals.
Total OPTIONS Requestsiis.total.options.requests.countThe number of HTTP requests using the OPTIONS method (since service startup).
Total TRACE Requestsiis.total.trace.requests.countThe number of HTTP requests using the TRACE method (since service startup). Trace requests allow the client to see what is being received at the end of the request chain and use the information for diagnostic purposes.
WWW publishing service
Metric nameMetric keyDescription
Byte total per secondiis.W3SVC_WebService.BytesTotalPersecBytes Total/sec is the sum of Bytes Sent/sec and Bytes Received/sec. This is the total rate of bytes transferred by the Web service.
Connection attempts per secondiis.W3SVC_WebService.ConnectionAttemptsPersecThe rate that connections to the Web service are being attempted.
Current anonymous usersiis.W3SVC_WebService.CurrentAnonymousUsersThe number of users who currently have an anonymous connection using the Web service.
Current Connectionsiis.current.connections.gaugeCurrent Connections is the current number of connections established with the Web service.
Current non-anonymous usersiis.W3SVC_WebService.CurrentNonAnonymousUsersThe number of users who currently have a non-anonymous connection using the Web service.
Http request processing
Metric nameMetric keyDescription
Active requestsiis.W3SVCW3WP.ActiveRequestsCurrent number of requests being processed by the worker process.
Active thread countiis.W3SVCW3WP.ActiveThreadsCountNumber of threads actively processing requests in the worker process.
Current file cache memory usageiis.W3SVCW3WP.CurrentFileCacheMemoryUsageCurrent number of bytes used by user-mode file cache.
Current files cachediis.W3SVCW3WP.CurrentFilesCachedCurrent number of files whose contents are present in user-mode cache.
Current metadata cachediis.W3SVCW3WP.CurrentMetadataCachedNumber of metadata information blocks currently present in user-mode cache.
Current URIs cachediis.W3SVCW3WP.CurrentURIsCachedURI information blocks currently in the user-mode cache.
File cache misses per secondiis.W3SVCW3WP.FileCacheMissesPersecRate of unsuccessful lookups in file cache during last sample interval.
Maximum thread countiis.W3SVCW3WP.MaximumThreadsCountMaximum number of threads to which the thread pool can grow as needed.
Metadata cache misses per secondiis.W3SVCW3WP.MetadataCacheMissesPersecRate of unsuccessful lookups in metadata cache during last sample interval.
Output cache current memory usageiis.W3SVCW3WP.OutputCacheCurrentMemoryUsageCurrent number of bytes used by output cache.
Output cache misses per secondiis.W3SVCW3WP.OutputCacheMissesPersecRate of unsuccessful lookups in output cache during last sample interval.
Requests per secondiis.W3SVCW3WP.RequestsPerSecHTTP requests/sec being processed by the worker process.
Total threadsiis.W3SVCW3WP.TotalThreadsTotal number of threads available to process requests in the worker process.
default
Metric nameMetric keyDescription
Total Bytes Sentiis.total.bytes.sent.countThe number of data bytes that have been sent by the Web service (since service startup).
Total Bytes Receivediis.total.bytes.received.countThe number of data bytes that have been receivPed by the Web service (since service startup).
Total Bytes Transferrediis.total.bytes.transferred.countTotal bytes either received or sent by the Web service (since service startup).
Total GET Requestsiis.total.get.requests.countThe number of HTTP requests using the GET method (since service startup). Get requests are the most common HTTP request.
Total POST Requestsiis.total.post.requests.countThe number of HTTP requests using the POST method (since service startup).
Total Method Requestsiis.total.method.requests.countThe number of all HTTP requests (since service startup).
Total Method Requests per Secondiis.method.requests.persecThe rate HTTP requests are received.
Current Connectionsiis.current.connections.gaugeCurrent Connections is the current number of connections established with the Web service.
Service Uptimeiis.service.uptimeThe length of time the Web Service has been running.
Total Files Receivediis.total.files.received.countThe total number of files received by the Web service (since service startup).
Total Files Sentiis.total.files.sent.countThe total number of files sent by the Web service (since service startup).
Total Connection Attempts (All instances)iis.total.connectionAttempts.allInstances.countTotal Connection Attempts is the number of connections that have been attempted using the Web service (since service startup). This counter is for all instances listed.
Total App Pool Uptimeiis.total.applicationPool.uptimeThe length of time, in seconds, that the application pool has been running since Windows Process Activation Service (WAS) started.
Current number of worker processesiis.current.workerProcessesThe current number of worker processes that are running in the application pool.
Maximum number of worker processesiis.maximum.workerProcessesThe maximum number of worker processes that have been created for the application pool since Windows Process Activation Service (WAS) started.
Total App Pool Recyclesiis.total.applicationPool.recycles.countThe number of times that the application pool has been recycled since Windows Process Activation Service (WAS) started.
Current Application Pool Uptimeiis.current.applicationPool.uptimeThe length of time, in seconds, that the application pool has been running since it was started.
Time Since Last Worker Process Failureiis.timeSinceLast.workerProcess.failureThe length of time, in seconds, since the last worker process failure occurred for the application pool.
Recent Worker Process Failuresiis.APPPOOLWAS.RecentWorkerProcessFailuresThe number of times that worker processes for the application pool failed during the rapid-fail protection interval.
Total Worker Process Failuresiis.APPPOOLWAS.TotalWorkerProcessFailuresThe number of times that worker processes have crashed since the application pool was started.
Total Worker Process Ping Failuresiis.APPPOOLWAS.TotalWorkerProcessPingFailuresThe number of times that Windows Process Activation Service (WAS) did not receive a response to ping messages sent to a worker process.
Total Worker Process Shutdown Failuresiis.APPPOOLWAS.TotalWorkerProcessShutdownFailuresThe number of times that Windows Process Activation Service (WAS) failed to shut down a worker process.
Total Worker Process Startup Failuresiis.APPPOOLWAS.TotalWorkerProcessStartupFailuresThe number of times that Windows Process Activation Service (WAS) failed to start a worker process.
Cache Hit Rateiis.cache.hitRateRate of cache hits for the queue
Current Queue Sizeiis.current.queue.sizeNumber of requests in the queue
Arrival rateiis.HTTPServiceRequestQueues.ArrivalRateRate at which requests are arriving in the queue
Max age of requests in queueiis.HTTPServiceRequestQueues.MaxQueueItemAgeAge of the oldest request in the queue
Rejected requestsiis.HTTPServiceRequestQueues.RejectedRequestsTotal number of requests rejected from the queue
Rejected request rateiis.HTTPServiceRequestQueues.RejectionRateRate at which requests are rejected from the queue
Application Pool Stateiis.current.applicationPool.stateState metric for Application Pools. State is expressed in the 'App Pool' dimension. (1 - Uninitialized, 2 - Initialized, 3 - Running, 4 - Disabling, 5 - Disabled, 6 - Shutdown Pending, 7 - Delete Pending).
Url groups
Metric nameMetric keyDescription
All requestsiis.HTTPServiceUrlGroups.AllRequests.countTotal number of HTTP requests made for this site
Bytes received rateiis.HTTPServiceUrlGroups.BytesReceivedRateRate of received data by HTTP service for this site
Bytes sent rateiis.HTTPServiceUrlGroups.BytesSentRateRate of sending data by HTTP service for this site
Bytes transferred rateiis.HTTPServiceUrlGroups.BytesTransferredRateRate of total bytes transferred (sent and received) by HTTP service for this site
Connection attempts rateiis.HTTPServiceUrlGroups.ConnectionAttemptsRate at which connection attempts are being made for this site
Current connectionsiis.HTTPServiceUrlGroups.CurrentConnectionsNumber of current connections established for this site
GET requests per secondiis.HTTPServiceUrlGroups.GetRequestsRate at which GET method requests are made for this site
HEAD requests per secondiis.HTTPServiceUrlGroups.HeadRequestsRate at which HEAD method requests are made for this site
Max connectionsiis.HTTPServiceUrlGroups.MaxConnectionsMaximum number of concurrent connections established for this site
Related tags
ApplicationWMIWeb serverMicrosoftApplication Observability