iis collector

August 31, 2025 ยท View on GitHub

The iis collector exposes metrics about the IIS server

Metric name prefixiis
Data sourcePerflib
Enabled by default?No

Flags

--collector.iis.site-include

If given, a site needs to match the include regexp in order for the corresponding metrics to be reported.

--collector.iis.site-exclude

If given, a site needs to not match the exclude regexp in order for the corresponding metrics to be reported.

--collector.iis.app-include

If given, an application needs to match the include regexp in order for the corresponding metrics to be reported.

--collector.iis.app-exclude

If given, an application needs to not match the exclude regexp in order for the corresponding metrics to be reported.

Metrics

NameDescriptionTypeLabels
windows_iis_current_anonymous_usersThe number of users who currently have an anonymous request pending with the web servicegaugesite
windows_iis_current_blocked_async_io_requestsNot yet documentedgaugesite
windows_iis_current_cgi_requestsThe number of CGI requests that are being processed simultaneously by the web servicegaugesite
windows_iis_current_connectionsThe number of active connections to the web servicegaugesite
windows_iis_current_isapi_extension_requestsThe number of ISAPI extension requests that are being processed simultaneously by the web servicegaugesite
windows_iis_current_non_anonymous_usersThe number of users who currently have a nonanonymous request pending with the web servicegaugesite
windows_iis_service_uptimeThe uptime for the web service or a Web site (seconds)gaugesite
windows_iis_received_bytes_totalThe total bytes of data that have been received by the web service since the service startedcountersite
windows_iis_sent_bytes_totalThe number of data bytes that have been sent by the web service since the service startedcountersite
windows_iis_anonymous_users_totalThe number of users who have established an anonymous request since the web service startedcountersite
windows_iis_blocked_async_io_requests_totalThe total number of blocked asynchronous I/O requests since the start of the IIS servicecountersite
windows_iis_cgi_requests_totalThe number of all CGI requests that have been made since the web service startedcountersite
windows_iis_connection_attempts_all_instances_totalThe number of connections to the web service that have been attempted since the service startedcountersite
windows_iis_requests_totalThe number of requests that have been made since the web service was startedcountersite, method
windows_iis_files_received_totalThe total number of files that have been received by the FTP service since the service startedcountersite
windows_iis_files_sent_totalThe total number of files that have been sent by the FTP service since the service startedcountersite
windows_iis_ipapi_extension_requests_totalThe number of ISAPI extension requests that have been made since the web service startedcountersite
windows_iis_locked_errors_totalThe number of requests that have been made since the service started that could not be satisfied by the server because the requested document was locked. Usually reported as HTTP error 423countersite
windows_iis_logon_attempts_totalThe number of attempts to log on to the web service that have occurred since the service startedcountersite
windows_iis_non_anonymous_users_totalThe number of users who have made nonanonymous requests to the web service since the service startedcountersite
windows_iis_not_found_errors_totalThe number of requests that have been made since the service started that were not satisfied by the server because the requested document was not found. Usually reported as HTTP error 404countersite
windows_iis_rejected_async_io_requests_totalThe total number of rejected asynchronous I/O requests since the start of the IIS service.countersite
windows_iis_current_application_pool_stateThe current status of the application pool (1 - Uninitialized, 2 - Initialized, 3 - Running, 4 - Disabling, 5 - Disabled, 6 - Shutdown Pending, 7 - Delete Pending)gaugeapp, state
windows_iis_current_application_pool_start_timeThe unix timestamp for the application pool start timegaugeapp
windows_iis_current_worker_processesThe current number of worker processes that are running in the application poolgaugeapp
windows_iis_maximum_worker_processesThe maximum number of worker processes that have been created for the application pool since Windows Process Activation Service (WAS) startedgaugeapp
windows_iis_recent_worker_process_failuresThe number of times that worker processes for the application pool failed during the rapid-fail protection intervalgaugeapp
windows_iis_time_since_last_worker_process_failureThe length of time, in seconds, since the last worker process failure occurred for the application poolgaugeapp
windows_iis_total_application_pool_recyclesThe number of times that the application pool has been recycled since Windows Process Activation Service (WAS) startedcounterapp
windows_iis_total_application_pool_start_timeThe unix timestamp for the application pool of when the Windows Process Activation Service (WAS) startedcounterapp
windows_iis_total_worker_processes_createdThe number of worker processes created for the application pool since Windows Process Activation Service (WAS) startedcounterapp
windows_iis_total_worker_process_failuresThe number of times that worker processes have crashed since the application pool was startedcounterapp
windows_iis_total_worker_process_ping_failuresThe number of times that Windows Process Activation Service (WAS) did not receive a response to ping messages sent to a worker processcounterapp
windows_iis_total_worker_process_shutdown_failuresThe number of times that Windows Process Activation Service (WAS) failed to shut down a worker processcounterapp
windows_iis_total_worker_process_startup_failuresThe number of times that Windows Process Activation Service (WAS) failed to start a worker processcounterapp
windows_iis_worker_cache_active_flushed_entriesNumber of file handles cached that will be closed when all current transfers completegaugeapp, pid
windows_iis_worker_file_cache_memory_bytesCurrent number of bytes used by file cachegaugeapp, pid
windows_iis_worker_file_cache_max_memory_bytesMaximum number of bytes used by file cachecounterapp, pid
windows_iis_worker_file_cache_flushes_totalTotal number of file cache flushes (since service startup)counterapp, pid
windows_iis_worker_file_cache_queries_totalTotal file cache queries (hits + misses)counterapp, pid
windows_iis_worker_file_cache_hits_totalTotal number of successful lookups in the user-mode file cachecounterapp, pid
windows_iis_worker_file_cache_itemsCurrent number of files whose contents are present in user-mode cachegaugeapp, pid
windows_iis_worker_file_cache_items_totalTotal number of files whose contents were ever added to the user-mode cache (since service startup)counterapp, pid
windows_iis_worker_file_cache_items_flushed_totalTotal number of file handles that have been removed from the user-mode cache (since service startup)counterapp, pid
windows_iis_worker_uri_cache_flushes_totalTotal number of URI cache flushes (since service startup)counterapp, pid
windows_iis_worker_uri_cache_queries_totalTotal number of uri cache queries (hits + misses)counterapp, pid
windows_iis_worker_uri_cache_hits_totalTotal number of successful lookups in the user-mode URI cache (since service startup)counterapp, pid
windows_iis_worker_uri_cache_itemsNumber of URI information blocks currently in the user-mode cachegaugeapp, pid
windows_iis_worker_uri_cache_items_totalTotal number of URI information blocks added to the user-mode cache (since service startup)counterapp, pid
windows_iis_worker_uri_cache_items_flushed_totalThe number of URI information blocks that have been removed from the user-mode cache (since service startup)counterapp, pid
windows_iis_worker_metadata_cache_itemsNumber of metadata information blocks currently present in user-mode cachegaugeapp, pid
windows_iis_worker_metadata_cache_flushes_totalTotal number of user-mode metadata cache flushes (since service startup)counterapp, pid
windows_iis_worker_metadata_cache_queries_totalTotal metadata cache queries (hits + misses)counterapp, pid
windows_iis_worker_metadata_cache_hits_totalTotal number of successful lookups in the user-mode metadata cache (since service startup)counterapp, pid
windows_iis_worker_metadata_cache_items_cached_totalTotal number of metadata information blocks added to the user-mode cache (since service startup)counterapp, pid
windows_iis_worker_metadata_cache_items_flushed_totalTotal number of metadata information blocks removed from the user-mode cache (since service startup)counterapp, pid
windows_iis_worker_output_cache_active_flushed_itemsThe total number of active and flushed items in the output cache of the IIS worker process. Active items are those that are currently being used to serve client requests, while flushed items are those that have been removed from the cache but are still waiting to be flushed to disk.counterapp, pid
windows_iis_worker_output_cache_itemsNumber of items current present in output cachecounterapp, pid
windows_iis_worker_output_cache_memory_bytesCurrent number of bytes used by output cachecounterapp, pid
windows_iis_worker_output_queries_totalTotal number of output cache queries (hits + misses)counterapp, pid
windows_iis_worker_output_cache_hits_totalTotal number of successful lookups in output cache (since service startup)counterapp, pid
windows_iis_worker_output_cache_items_flushed_totalTotal number of items flushed from output cache (since service startup)counterapp, pid
windows_iis_worker_output_cache_flushes_totalTotal number of flushes of output cache (since service startup)counterapp, pid
windows_iis_worker_threadsNumber of threads actively processing requests in the worker processgaugeapp, pid, state
windows_iis_worker_max_threadsMaximum number of threads to which the thread pool can grow as neededcounterapp, pid
windows_iis_worker_requests_totalTotal number of HTTP requests served by the worker processcounterapp, pid
windows_iis_worker_current_requestsCurrent number of requests being processed by the worker processcounterapp, pid
windows_iis_worker_request_errors_totalTotal number of requests that returned an errorcounterapp, pid, status_code
windows_iis_worker_current_websocket_requeststhe current number of WebSocket connections being processed by the IIS worker process.counterapp, pid
windows_iis_worker_websocket_connection_attempts_totalthe total number of attempted WebSocket connections since the start of the IIS worker processcounterapp, pid
windows_iis_worker_websocket_connection_accepted_totalthe total number of WebSocket connections that have been successfully established since the start of the IIS worker processcounterapp, pid
windows_iis_worker_websocket_connection_rejected_totalthe total number of WebSocket connections that have been rejected by the server since the start of the IIS worker process. Connections can be rejected for various reasons, such as capacity limitations, authentication failures, or configuration issuescounterapp, pid
windows_iis_server_cache_active_flushed_entriesNumber of file handles cached that will be closed when all current transfers completecounterNone
windows_iis_server_file_cache_memory_bytesCurrent number of bytes used by file cachegaugeNone
windows_iis_server_file_cache_max_memory_bytesMaximum number of bytes used by file cachecounterNone
windows_iis_server_file_cache_flushes_totalTotal number of file cache flushes (since service startup)counterNone
windows_iis_server_file_cache_queries_totalTotal number of file cache queries (hits + misses)counterNone
windows_iis_server_file_cache_hits_totalTotal number of successful lookups in the file cachecounterNone
windows_iis_server_file_cache_itemsCurrent number of files whose contents are present in cachegaugeNone
windows_iis_server_file_cache_items_totalTotal number of files whose contents were ever added to the cache (since service startup)counterNone
windows_iis_server_file_cache_items_flushed_totalTotal number of file handles that have been removed from the cache (since service startup)counterNone
windows_iis_server_uri_cache_flushes_totalTotal number of URI cache flushes (since service startup)countermode
windows_iis_server_uri_cache_queries_totalTotal number of uri cache queries (hits + misses)countermode
windows_iis_server_uri_cache_hits_totalTotal number of successful lookups in the URI cache (since service startup)countermode
windows_iis_server_uri_cache_itemsNumber of URI information blocks currently in the cachegaugemode
windows_iis_server_uri_cache_items_totalTotal number of URI information blocks added to the cache (since service startup)countermode
windows_iis_server_uri_cache_items_flushed_totalThe number of URI information blocks that have been removed from the cache (since service startup)countermode
windows_iis_server_metadata_cache_itemsNumber of metadata information blocks currently present in cachegaugeNone
windows_iis_server_metadata_cache_flushes_totalTotal number of metadata cache flushes (since service startup)counterNone
windows_iis_server_metadata_cache_queries_totalTotal metadata cache queries (hits + misses)counterNone
windows_iis_server_metadata_cache_hits_totalTotal number of successful lookups in the metadata cache (since service startup)counterNone
windows_iis_server_metadata_cache_items_cached_totalTotal number of metadata information blocks added to the cache (since service startup)counterNone
windows_iis_server_metadata_cache_items_flushed_totalTotal number of metadata information blocks removed from the cache (since service startup)counterNone
windows_iis_server_output_cache_active_flushed_itemsThe total number of active and flushed items in the output cache of the IIS servercounterNone
windows_iis_server_output_cache_itemsNumber of items current present in output cachecounterNone
windows_iis_server_output_cache_memory_bytesCurrent number of bytes used by output cachecounterNone
windows_iis_server_output_cache_queries_totalTotal output cache queries (hits + misses)counterNone
windows_iis_server_output_cache_hits_totalTotal number of successful lookups in output cache (since service startup)counterNone
windows_iis_server_output_cache_items_flushed_totalTotal number of items flushed from output cache (since service startup)counterNone
windows_iis_server_output_cache_flushes_totalTotal number of flushes of output cache (since service startup)counterNone
windows_iis_http_requests_current_queue_sizeHttp Request Current queue sizecounterNone
windows_iis_http_request_total_rejected_requestHttp Request total rejected requestcounterNone
windows_iis_http_requests_max_queue_item_ageHttp Request Max queue Item agecounterNone
windows_iis_http_requests_arrival_rateHttp requests Arrival RatecounterNone

Example metric

This collector does not yet have explained examples, we would appreciate your help adding them!

Useful queries

This collector does not yet have any useful queries added, we would appreciate your help adding them!

Alerting examples

This collector does not yet have alerting examples, we would appreciate your help adding them!