Merge pull request #1060 from kaffarell/iis-docs

Added documentation for iis collector
This commit is contained in:
Ben Reedy
2022-09-09 20:23:42 +10:00
committed by GitHub
2 changed files with 149 additions and 148 deletions

View File

@@ -416,25 +416,25 @@ func NewIISCollector() (Collector, error) {
// W3SVC_W3WP // W3SVC_W3WP
Threads: prometheus.NewDesc( Threads: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_threads"), prometheus.BuildFQName(Namespace, subsystem, "worker_threads"),
"", "Number of threads actively processing requests in the worker process",
[]string{"app", "pid", "state"}, []string{"app", "pid", "state"},
nil, nil,
), ),
MaximumThreads: prometheus.NewDesc( MaximumThreads: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_max_threads"), prometheus.BuildFQName(Namespace, subsystem, "worker_max_threads"),
"", "Maximum number of threads to which the thread pool can grow as needed",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
RequestsTotal: prometheus.NewDesc( RequestsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_requests_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_requests_total"),
"", "Total number of HTTP requests served by the worker process",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
RequestsActive: prometheus.NewDesc( RequestsActive: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_current_requests"), prometheus.BuildFQName(Namespace, subsystem, "worker_current_requests"),
"", "Current number of requests being processed by the worker process",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
@@ -446,121 +446,121 @@ func NewIISCollector() (Collector, error) {
), ),
CurrentFileCacheMemoryUsage: prometheus.NewDesc( CurrentFileCacheMemoryUsage: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_memory_bytes"), prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_memory_bytes"),
"", "Current number of bytes used by user-mode file cache",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
MaximumFileCacheMemoryUsage: prometheus.NewDesc( MaximumFileCacheMemoryUsage: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_max_memory_bytes"), prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_max_memory_bytes"),
"", "Maximum number of bytes used by user-mode file cache",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
FileCacheFlushesTotal: prometheus.NewDesc( FileCacheFlushesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_flushes_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_flushes_total"),
"", "Total number of files removed from the user-mode cache",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
FileCacheQueriesTotal: prometheus.NewDesc( FileCacheQueriesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_queries_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_queries_total"),
"", "Total file cache queries (hits + misses)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
FileCacheHitsTotal: prometheus.NewDesc( FileCacheHitsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_hits_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_hits_total"),
"", "Total number of successful lookups in the user-mode file cache",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
FilesCached: prometheus.NewDesc( FilesCached: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_items"), prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_items"),
"", "Current number of files whose contents are present in user-mode cache",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
FilesCachedTotal: prometheus.NewDesc( FilesCachedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_items_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_items_total"),
"", "Total number of files whose contents were ever added to the user-mode cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
FilesFlushedTotal: prometheus.NewDesc( FilesFlushedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_items_flushed_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_file_cache_items_flushed_total"),
"", "Total number of file handles that have been removed from the user-mode cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
URICacheFlushesTotal: prometheus.NewDesc( URICacheFlushesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_flushes_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_flushes_total"),
"", "Total number of URI cache flushes (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
URICacheQueriesTotal: prometheus.NewDesc( URICacheQueriesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_queries_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_queries_total"),
"", "Total number of uri cache queries (hits + misses)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
URICacheHitsTotal: prometheus.NewDesc( URICacheHitsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_hits_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_hits_total"),
"", "Total number of successful lookups in the user-mode URI cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
URIsCached: prometheus.NewDesc( URIsCached: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_items"), prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_items"),
"", "Number of URI information blocks currently in the user-mode cache",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
URIsCachedTotal: prometheus.NewDesc( URIsCachedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_items_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_items_total"),
"", "Total number of URI information blocks added to the user-mode cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
URIsFlushedTotal: prometheus.NewDesc( URIsFlushedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_items_flushed_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_uri_cache_items_flushed_total"),
"", "The number of URI information blocks that have been removed from the user-mode cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
MetadataCached: prometheus.NewDesc( MetadataCached: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_items"), prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_items"),
"", "Number of metadata information blocks currently present in user-mode cache",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
MetadataCacheFlushes: prometheus.NewDesc( MetadataCacheFlushes: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_flushes_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_flushes_total"),
"", "Total number of user-mode metadata cache flushes (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
MetadataCacheQueriesTotal: prometheus.NewDesc( MetadataCacheQueriesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_queries_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_queries_total"),
"", "Total metadata cache queries (hits + misses)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
MetadataCacheHitsTotal: prometheus.NewDesc( MetadataCacheHitsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_hits_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_hits_total"),
"", "Total number of successful lookups in the user-mode metadata cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
MetadataCachedTotal: prometheus.NewDesc( MetadataCachedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_items_cached_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_items_cached_total"),
"", "Total number of metadata information blocks added to the user-mode cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
MetadataFlushedTotal: prometheus.NewDesc( MetadataFlushedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_items_flushed_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_metadata_cache_items_flushed_total"),
"", "Total number of metadata information blocks removed from the user-mode cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
@@ -572,44 +572,44 @@ func NewIISCollector() (Collector, error) {
), ),
OutputCacheItems: prometheus.NewDesc( OutputCacheItems: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_output_cache_items"), prometheus.BuildFQName(Namespace, subsystem, "worker_output_cache_items"),
"", "Number of items current present in output cache",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
OutputCacheMemoryUsage: prometheus.NewDesc( OutputCacheMemoryUsage: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_output_cache_memory_bytes"), prometheus.BuildFQName(Namespace, subsystem, "worker_output_cache_memory_bytes"),
"", "Current number of bytes used by output cache",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
OutputCacheQueriesTotal: prometheus.NewDesc( OutputCacheQueriesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_output_queries_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_output_queries_total"),
"", "Total number of output cache queries (hits + misses)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
OutputCacheHitsTotal: prometheus.NewDesc( OutputCacheHitsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_output_cache_hits_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_output_cache_hits_total"),
"", "Total number of successful lookups in output cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
OutputCacheFlushedItemsTotal: prometheus.NewDesc( OutputCacheFlushedItemsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_output_cache_items_flushed_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_output_cache_items_flushed_total"),
"", "Total number of items flushed from output cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
OutputCacheFlushesTotal: prometheus.NewDesc( OutputCacheFlushesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_output_cache_flushes_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_output_cache_flushes_total"),
"", "Total number of flushes of output cache (since service startup)",
[]string{"app", "pid"}, []string{"app", "pid"},
nil, nil,
), ),
// W3SVC_W3WP_IIS8 // W3SVC_W3WP_IIS8
RequestErrorsTotal: prometheus.NewDesc( RequestErrorsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "worker_request_errors_total"), prometheus.BuildFQName(Namespace, subsystem, "worker_request_errors_total"),
"", "Total number of requests that returned an error",
[]string{"app", "pid", "status_code"}, []string{"app", "pid", "status_code"},
nil, nil,
), ),
@@ -641,127 +641,127 @@ func NewIISCollector() (Collector, error) {
// Web Service Cache // Web Service Cache
ServiceCache_ActiveFlushedEntries: prometheus.NewDesc( ServiceCache_ActiveFlushedEntries: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_cache_active_flushed_entries"), prometheus.BuildFQName(Namespace, subsystem, "server_cache_active_flushed_entries"),
"Number of file handles cached in user-mode that will be closed when all current transfers complete.", "Number of file handles cached that will be closed when all current transfers complete.",
nil, nil,
nil, nil,
), ),
ServiceCache_CurrentFileCacheMemoryUsage: prometheus.NewDesc( ServiceCache_CurrentFileCacheMemoryUsage: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_memory_bytes"), prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_memory_bytes"),
"", "Current number of bytes used by file cache",
nil, nil,
nil, nil,
), ),
ServiceCache_MaximumFileCacheMemoryUsage: prometheus.NewDesc( ServiceCache_MaximumFileCacheMemoryUsage: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_max_memory_bytes"), prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_max_memory_bytes"),
"", "Maximum number of bytes used by file cache",
nil, nil,
nil, nil,
), ),
ServiceCache_FileCacheFlushesTotal: prometheus.NewDesc( ServiceCache_FileCacheFlushesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_flushes_total"), prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_flushes_total"),
"", "Total number of file cache flushes (since service startup)",
nil, nil,
nil, nil,
), ),
ServiceCache_FileCacheQueriesTotal: prometheus.NewDesc( ServiceCache_FileCacheQueriesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_queries_total"), prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_queries_total"),
"", "Total number of file cache queries (hits + misses)",
nil, nil,
nil, nil,
), ),
ServiceCache_FileCacheHitsTotal: prometheus.NewDesc( ServiceCache_FileCacheHitsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_hits_total"), prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_hits_total"),
"", "Total number of successful lookups in the user-mode file cache",
nil, nil,
nil, nil,
), ),
ServiceCache_FilesCached: prometheus.NewDesc( ServiceCache_FilesCached: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_items"), prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_items"),
"", "Current number of files whose contents are present in cache",
nil, nil,
nil, nil,
), ),
ServiceCache_FilesCachedTotal: prometheus.NewDesc( ServiceCache_FilesCachedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_items_total"), prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_items_total"),
"", "Total number of files whose contents were ever added to the cache (since service startup)",
nil, nil,
nil, nil,
), ),
ServiceCache_FilesFlushedTotal: prometheus.NewDesc( ServiceCache_FilesFlushedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_items_flushed_total"), prometheus.BuildFQName(Namespace, subsystem, "server_file_cache_items_flushed_total"),
"", "Total number of file handles that have been removed from the cache (since service startup)",
nil, nil,
nil, nil,
), ),
ServiceCache_URICacheFlushesTotal: prometheus.NewDesc( ServiceCache_URICacheFlushesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_flushes_total"), prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_flushes_total"),
"", "Total number of URI cache flushes (since service startup)",
[]string{"mode"}, []string{"mode"},
nil, nil,
), ),
ServiceCache_URICacheQueriesTotal: prometheus.NewDesc( ServiceCache_URICacheQueriesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_queries_total"), prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_queries_total"),
"", "Total number of uri cache queries (hits + misses)",
[]string{"mode"}, []string{"mode"},
nil, nil,
), ),
ServiceCache_URICacheHitsTotal: prometheus.NewDesc( ServiceCache_URICacheHitsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_hits_total"), prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_hits_total"),
"", "Total number of successful lookups in the URI cache (since service startup)",
[]string{"mode"}, []string{"mode"},
nil, nil,
), ),
ServiceCache_URIsCached: prometheus.NewDesc( ServiceCache_URIsCached: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_items"), prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_items"),
"", "Number of URI information blocks currently in the cache",
[]string{"mode"}, []string{"mode"},
nil, nil,
), ),
ServiceCache_URIsCachedTotal: prometheus.NewDesc( ServiceCache_URIsCachedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_items_total"), prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_items_total"),
"", "Total number of URI information blocks added to the cache (since service startup)",
[]string{"mode"}, []string{"mode"},
nil, nil,
), ),
ServiceCache_URIsFlushedTotal: prometheus.NewDesc( ServiceCache_URIsFlushedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_items_flushed_total"), prometheus.BuildFQName(Namespace, subsystem, "server_uri_cache_items_flushed_total"),
"", "The number of URI information blocks that have been removed from the cache (since service startup)",
[]string{"mode"}, []string{"mode"},
nil, nil,
), ),
ServiceCache_MetadataCached: prometheus.NewDesc( ServiceCache_MetadataCached: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_items"), prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_items"),
"", "Number of metadata information blocks currently present in cache",
nil, nil,
nil, nil,
), ),
ServiceCache_MetadataCacheFlushes: prometheus.NewDesc( ServiceCache_MetadataCacheFlushes: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_flushes_total"), prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_flushes_total"),
"", "Total number of metadata cache flushes (since service startup)",
nil, nil,
nil, nil,
), ),
ServiceCache_MetadataCacheQueriesTotal: prometheus.NewDesc( ServiceCache_MetadataCacheQueriesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_queries_total"), prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_queries_total"),
"", "Total metadata cache queries (hits + misses)",
nil, nil,
nil, nil,
), ),
ServiceCache_MetadataCacheHitsTotal: prometheus.NewDesc( ServiceCache_MetadataCacheHitsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_hits_total"), prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_hits_total"),
"", "Total number of successful lookups in the metadata cache (since service startup)",
nil, nil,
nil, nil,
), ),
ServiceCache_MetadataCachedTotal: prometheus.NewDesc( ServiceCache_MetadataCachedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_items_cached_total"), prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_items_cached_total"),
"", "Total number of metadata information blocks added to the cache (since service startup)",
nil, nil,
nil, nil,
), ),
ServiceCache_MetadataFlushedTotal: prometheus.NewDesc( ServiceCache_MetadataFlushedTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_items_flushed_total"), prometheus.BuildFQName(Namespace, subsystem, "server_metadata_cache_items_flushed_total"),
"", "Total number of metadata information blocks removed from the cache (since service startup)",
nil, nil,
nil, nil,
), ),
@@ -773,37 +773,37 @@ func NewIISCollector() (Collector, error) {
), ),
ServiceCache_OutputCacheItems: prometheus.NewDesc( ServiceCache_OutputCacheItems: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_items"), prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_items"),
"", "Number of items current present in output cache",
nil, nil,
nil, nil,
), ),
ServiceCache_OutputCacheMemoryUsage: prometheus.NewDesc( ServiceCache_OutputCacheMemoryUsage: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_memory_bytes"), prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_memory_bytes"),
"", "Current number of bytes used by output cache",
nil, nil,
nil, nil,
), ),
ServiceCache_OutputCacheQueriesTotal: prometheus.NewDesc( ServiceCache_OutputCacheQueriesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_queries_total"), prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_queries_total"),
"", "Total output cache queries (hits + misses)",
nil, nil,
nil, nil,
), ),
ServiceCache_OutputCacheHitsTotal: prometheus.NewDesc( ServiceCache_OutputCacheHitsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_hits_total"), prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_hits_total"),
"", "Total number of successful lookups in output cache (since service startup)",
nil, nil,
nil, nil,
), ),
ServiceCache_OutputCacheFlushedItemsTotal: prometheus.NewDesc( ServiceCache_OutputCacheFlushedItemsTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_items_flushed_total"), prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_items_flushed_total"),
"", "Total number of items flushed from output cache (since service startup)",
nil, nil,
nil, nil,
), ),
ServiceCache_OutputCacheFlushesTotal: prometheus.NewDesc( ServiceCache_OutputCacheFlushesTotal: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_flushes_total"), prometheus.BuildFQName(Namespace, subsystem, "server_output_cache_flushes_total"),
"", "Total number of flushes of output cache (since service startup)",
nil, nil,
nil, nil,
), ),

View File

@@ -30,105 +30,106 @@ If given, an application needs to *not* match the blacklist regexp in order for
Name | Description | Type | Labels Name | Description | Type | Labels
-----|-------------|------|------- -----|-------------|------|-------
`windows_iis_current_anonymous_users` | _Not yet documented_ | counter | `site` `windows_iis_current_anonymous_users` | The number of users who currently have an anonymous request pending with the web service | counter | `site`
`windows_iis_current_blocked_async_io_requests` | _Not yet documented_ | counter | `site` `windows_iis_current_blocked_async_io_requests` | _Not yet documented_ | counter | `site`
`windows_iis_current_cgi_requests` | _Not yet documented_ | counter | `site` `windows_iis_current_cgi_requests` | The number of CGI requests that are being processed simultaneously by the web service | counter | `site`
`windows_iis_current_connections` | _Not yet documented_ | counter | `site` `windows_iis_current_connections` | The number of active connections to the web service | counter | `site`
`windows_iis_current_isapi_extension_requests` | _Not yet documented_ | counter | `site` `windows_iis_current_isapi_extension_requests` | The number of [ISAPI extension](https://docs.microsoft.com/en-us/previous-versions/iis/6.0-sdk/ms525172(v=vs.90)) requests that are being processed simultaneously by the web service | counter | `site`
`windows_iis_current_non_anonymous_users` | _Not yet documented_ | counter | `site` `windows_iis_current_non_anonymous_users` | The number of users who currently have a nonanonymous request pending with the web service | counter | `site`
`windows_iis_received_bytes_total` | _Not yet documented_ | counter | `site` `windows_iis_service_uptime` | The uptime for the web service or a Web site (seconds) | counter | `site`
`windows_iis_sent_bytes_total` | _Not yet documented_ | counter | `site` `windows_iis_received_bytes_total` | The total bytes of data that have been received by the web service since the service started | counter | `site`
`windows_iis_anonymous_users_total` | _Not yet documented_ | counter | `site` `windows_iis_sent_bytes_total` | The number of data bytes that have been sent by the web service since the service started | counter | `site`
`windows_iis_anonymous_users_total` | The number of users who have established an anonymous request since the web service started | counter | `site`
`windows_iis_blocked_async_io_requests_total` | _Not yet documented_ | counter | `site` `windows_iis_blocked_async_io_requests_total` | _Not yet documented_ | counter | `site`
`windows_iis_cgi_requests_total` | _Not yet documented_ | counter | `site` `windows_iis_cgi_requests_total` | The number of all CGI requests that have been made since the web service started | counter | `site`
`windows_iis_connection_attempts_all_instances_total` | _Not yet documented_ | counter | `site` `windows_iis_connection_attempts_all_instances_total` | The number of connections to the web service that have been attempted since the service started | counter | `site`
`windows_iis_requests_total` | _Not yet documented_ | counter | `site`, `method` `windows_iis_requests_total` | The number of requests that have been made since the web service was started | counter | `site`, `method`
`windows_iis_files_received_total` | _Not yet documented_ | counter | `site` `windows_iis_files_received_total` | The total number of files that have been received by the FTP service since the service started | counter | `site`
`windows_iis_files_sent_total` | _Not yet documented_ | counter | `site` `windows_iis_files_sent_total` | The total number of files that have been sent by the FTP service since the service started | counter | `site`
`windows_iis_ipapi_extension_requests_total` | _Not yet documented_ | counter | `site` `windows_iis_ipapi_extension_requests_total` | The number of ISAPI extension requests that have been made since the web service started | counter | `site`
`windows_iis_locked_errors_total` | _Not yet documented_ | counter | `site` `windows_iis_locked_errors_total` | The 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 423 | counter | `site`
`windows_iis_logon_attempts_total` | _Not yet documented_ | counter | `site` `windows_iis_logon_attempts_total` | The number of attempts to log on to the web service that have occurred since the service started | counter | `site`
`windows_iis_non_anonymous_users_total` | _Not yet documented_ | counter | `site` `windows_iis_non_anonymous_users_total` | The number of users who have made nonanonymous requests to the web service since the service started | counter | `site`
`windows_iis_not_found_errors_total` | _Not yet documented_ | counter | `site` `windows_iis_not_found_errors_total` | The 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 404 | counter | `site`
`windows_iis_rejected_async_io_requests_total` | _Not yet documented_ | counter | `site` `windows_iis_rejected_async_io_requests_total` | _Not yet documented_ | counter | `site`
`windows_iis_current_application_pool_state` | _Not yet documented_ | counter | `app`, `state` `windows_iis_current_application_pool_state` | The current status of the application pool (1 - Uninitialized, 2 - Initialized, 3 - Running, 4 - Disabling, 5 - Disabled, 6 - Shutdown Pending, 7 - Delete Pending) | counter | `app`, `state`
`windows_iis_current_application_pool_start_time` | _Not yet documented_ | counter | `app` `windows_iis_current_application_pool_start_time` | The unix timestamp for the application pool start time | counter | `app`
`windows_iis_current_worker_processes` | _Not yet documented_ | counter | `app` `windows_iis_current_worker_processes` | The current number of worker processes that are running in the application pool | counter | `app`
`windows_iis_maximum_worker_processes` | _Not yet documented_ | counter | `app` `windows_iis_maximum_worker_processes` | The maximum number of worker processes that have been created for the application pool since Windows Process Activation Service (WAS) started | counter | `app`
`windows_iis_recent_worker_process_failures` | _Not yet documented_ | counter | `app` `windows_iis_recent_worker_process_failures` | The number of times that worker processes for the application pool failed during the rapid-fail protection interval | counter | `app`
`windows_iis_time_since_last_worker_process_failure` | _Not yet documented_ | counter | `app` `windows_iis_time_since_last_worker_process_failure` | The length of time, in seconds, since the last worker process failure occurred for the application pool | counter | `app`
`windows_iis_total_application_pool_recycles` | _Not yet documented_ | counter | `app` `windows_iis_total_application_pool_recycles` | The number of times that the application pool has been recycled since Windows Process Activation Service (WAS) started | counter | `app`
`windows_iis_total_application_pool_start_time` | _Not yet documented_ | counter | `app` `windows_iis_total_application_pool_start_time` | The unix timestamp for the application pool of when the Windows Process Activation Service (WAS) started | counter | `app`
`windows_iis_total_worker_processes_created` | _Not yet documented_ | counter | `app` `windows_iis_total_worker_processes_created` | The number of worker processes created for the application pool since Windows Process Activation Service (WAS) started | counter | `app`
`windows_iis_total_worker_process_failures` | _Not yet documented_ | counter | `app` `windows_iis_total_worker_process_failures` | The number of times that worker processes have crashed since the application pool was started | counter | `app`
`windows_iis_total_worker_process_ping_failures` | _Not yet documented_ | counter | `app` `windows_iis_total_worker_process_ping_failures` | The number of times that Windows Process Activation Service (WAS) did not receive a response to ping messages sent to a worker process | counter | `app`
`windows_iis_total_worker_process_shutdown_failures` | _Not yet documented_ | counter | `app` `windows_iis_total_worker_process_shutdown_failures` | The number of times that Windows Process Activation Service (WAS) failed to shut down a worker process | counter | `app`
`windows_iis_total_worker_process_startup_failures` | _Not yet documented_ | counter | `app` `windows_iis_total_worker_process_startup_failures` | The number of times that Windows Process Activation Service (WAS) failed to start a worker process | counter | `app`
`windows_iis_worker_cache_active_flushed_entries` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_cache_active_flushed_entries` | Number of file handles cached that will be closed when all current transfers complete | counter | `app`, `pid`
`windows_iis_worker_file_cache_memory_bytes` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_file_cache_memory_bytes` | Current number of bytes used by file cache | counter | `app`, `pid`
`windows_iis_worker_file_cache_max_memory_bytes` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_file_cache_max_memory_bytes` | Maximum number of bytes used by file cache | counter | `app`, `pid`
`windows_iis_worker_file_cache_flushes_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_file_cache_flushes_total` | Total number of file cache flushes (since service startup) | counter | `app`, `pid`
`windows_iis_worker_file_cache_queries_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_file_cache_queries_total` | Total file cache queries (hits + misses) | counter | `app`, `pid`
`windows_iis_worker_file_cache_hits_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_file_cache_hits_total` | Total number of successful lookups in the user-mode file cache | counter | `app`, `pid`
`windows_iis_worker_file_cache_items` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_file_cache_items` | Current number of files whose contents are present in user-mode cache | counter | `app`, `pid`
`windows_iis_worker_file_cache_items_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_file_cache_items_total` | Total number of files whose contents were ever added to the user-mode cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_file_cache_items_flushed_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_file_cache_items_flushed_total` | Total number of file handles that have been removed from the user-mode cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_uri_cache_flushes_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_uri_cache_flushes_total` | Total number of URI cache flushes (since service startup) | counter | `app`, `pid`
`windows_iis_worker_uri_cache_queries_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_uri_cache_queries_total` | Total number of uri cache queries (hits + misses) | counter | `app`, `pid`
`windows_iis_worker_uri_cache_hits_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_uri_cache_hits_total` | Total number of successful lookups in the user-mode URI cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_uri_cache_items` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_uri_cache_items` | Number of URI information blocks currently in the user-mode cache | counter | `app`, `pid`
`windows_iis_worker_uri_cache_items_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_uri_cache_items_total` | Total number of URI information blocks added to the user-mode cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_uri_cache_items_flushed_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_uri_cache_items_flushed_total` | The number of URI information blocks that have been removed from the user-mode cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_metadata_cache_items` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_metadata_cache_items` | Number of metadata information blocks currently present in user-mode cache | counter | `app`, `pid`
`windows_iis_worker_metadata_cache_flushes_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_metadata_cache_flushes_total` | Total number of user-mode metadata cache flushes (since service startup) | counter | `app`, `pid`
`windows_iis_worker_metadata_cache_queries_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_metadata_cache_queries_total` | Total metadata cache queries (hits + misses) | counter | `app`, `pid`
`windows_iis_worker_metadata_cache_hits_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_metadata_cache_hits_total` | Total number of successful lookups in the user-mode metadata cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_metadata_cache_items_cached_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_metadata_cache_items_cached_total` | Total number of metadata information blocks added to the user-mode cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_metadata_cache_items_flushed_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_metadata_cache_items_flushed_total` | Total number of metadata information blocks removed from the user-mode cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_output_cache_active_flushed_items` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_output_cache_active_flushed_items` | _Not yet documented_ | counter | `app`, `pid`
`windows_iis_worker_output_cache_items` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_output_cache_items` | Number of items current present in output cache | counter | `app`, `pid`
`windows_iis_worker_output_cache_memory_bytes` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_output_cache_memory_bytes` | Current number of bytes used by output cache | counter | `app`, `pid`
`windows_iis_worker_output_queries_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_output_queries_total` | Total number of output cache queries (hits + misses) | counter | `app`, `pid`
`windows_iis_worker_output_cache_hits_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_output_cache_hits_total` | Total number of successful lookups in output cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_output_cache_items_flushed_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_output_cache_items_flushed_total` | Total number of items flushed from output cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_output_cache_flushes_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_output_cache_flushes_total` | Total number of flushes of output cache (since service startup) | counter | `app`, `pid`
`windows_iis_worker_threads` | _Not yet documented_ | counter | `app`, `pid`, `state` `windows_iis_worker_threads` | Number of threads actively processing requests in the worker process | counter | `app`, `pid`, `state`
`windows_iis_worker_max_threads` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_max_threads` | Maximum number of threads to which the thread pool can grow as needed | counter | `app`, `pid`
`windows_iis_worker_requests_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_requests_total` | Total number of HTTP requests served by the worker process | counter | `app`, `pid`
`windows_iis_worker_current_requests` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_current_requests` | Current number of requests being processed by the worker process | counter | `app`, `pid`
`windows_iis_worker_request_errors_total` | _Not yet documented_ | counter | `app`, `pid`, `status_code` `windows_iis_worker_request_errors_total` | Total number of requests that returned an error | counter | `app`, `pid`, `status_code`
`windows_iis_worker_current_websocket_requests` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_current_websocket_requests` | _Not yet documented_ | counter | `app`, `pid`
`windows_iis_worker_websocket_connection_attempts_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_websocket_connection_attempts_total` | _Not yet documented_ | counter | `app`, `pid`
`windows_iis_worker_websocket_connection_accepted_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_websocket_connection_accepted_total` | _Not yet documented_ | counter | `app`, `pid`
`windows_iis_worker_websocket_connection_rejected_total` | _Not yet documented_ | counter | `app`, `pid` `windows_iis_worker_websocket_connection_rejected_total` | _Not yet documented_ | counter | `app`, `pid`
`windows_iis_server_cache_active_flushed_entries` | _Not yet documented_ | counter | None `windows_iis_server_cache_active_flushed_entries` | Number of file handles cached that will be closed when all current transfers complete | counter | None
`windows_iis_server_file_cache_memory_bytes` | _Not yet documented_ | counter | None `windows_iis_server_file_cache_memory_bytes` | Current number of bytes used by file cache | counter | None
`windows_iis_server_file_cache_max_memory_bytes` | _Not yet documented_ | counter | None `windows_iis_server_file_cache_max_memory_bytes` | Maximum number of bytes used by file cache | counter | None
`windows_iis_server_file_cache_flushes_total` | _Not yet documented_ | counter | None `windows_iis_server_file_cache_flushes_total` | Total number of file cache flushes (since service startup) | counter | None
`windows_iis_server_file_cache_queries_total` | _Not yet documented_ | counter | None `windows_iis_server_file_cache_queries_total` | Total number of file cache queries (hits + misses) | counter | None
`windows_iis_server_file_cache_hits_total` | _Not yet documented_ | counter | None `windows_iis_server_file_cache_hits_total` | Total number of successful lookups in the file cache | counter | None
`windows_iis_server_file_cache_items` | _Not yet documented_ | counter | None `windows_iis_server_file_cache_items` | Current number of files whose contents are present in cache | counter | None
`windows_iis_server_file_cache_items_total` | _Not yet documented_ | counter | None `windows_iis_server_file_cache_items_total` | Total number of files whose contents were ever added to the cache (since service startup) | counter | None
`windows_iis_server_file_cache_items_flushed_total` | _Not yet documented_ | counter | None `windows_iis_server_file_cache_items_flushed_total` | Total number of file handles that have been removed from the cache (since service startup) | counter | None
`windows_iis_server_uri_cache_flushes_total` | _Not yet documented_ | counter | `mode` `windows_iis_server_uri_cache_flushes_total` | Total number of URI cache flushes (since service startup) | counter | `mode`
`windows_iis_server_uri_cache_queries_total` | _Not yet documented_ | counter | `mode` `windows_iis_server_uri_cache_queries_total` | Total number of uri cache queries (hits + misses) | counter | `mode`
`windows_iis_server_uri_cache_hits_total` | _Not yet documented_ | counter | `mode` `windows_iis_server_uri_cache_hits_total` | Total number of successful lookups in the URI cache (since service startup) | counter | `mode`
`windows_iis_server_uri_cache_items` | _Not yet documented_ | counter | `mode` `windows_iis_server_uri_cache_items` | Number of URI information blocks currently in the cache | counter | `mode`
`windows_iis_server_uri_cache_items_total` | _Not yet documented_ | counter | `mode` `windows_iis_server_uri_cache_items_total` | Total number of URI information blocks added to the cache (since service startup) | counter | `mode`
`windows_iis_server_uri_cache_items_flushed_total` | _Not yet documented_ | counter | `mode` `windows_iis_server_uri_cache_items_flushed_total` | The number of URI information blocks that have been removed from the cache (since service startup) | counter | `mode`
`windows_iis_server_metadata_cache_items` | _Not yet documented_ | counter | None `windows_iis_server_metadata_cache_items` | Number of metadata information blocks currently present in cache | counter | None
`windows_iis_server_metadata_cache_flushes_total` | _Not yet documented_ | counter | None `windows_iis_server_metadata_cache_flushes_total` | Total number of metadata cache flushes (since service startup) | counter | None
`windows_iis_server_metadata_cache_queries_total` | _Not yet documented_ | counter | None `windows_iis_server_metadata_cache_queries_total` | Total metadata cache queries (hits + misses) | counter | None
`windows_iis_server_metadata_cache_hits_total` | _Not yet documented_ | counter | None `windows_iis_server_metadata_cache_hits_total` | Total number of successful lookups in the metadata cache (since service startup) | counter | None
`windows_iis_server_metadata_cache_items_cached_total` | _Not yet documented_ | counter | None `windows_iis_server_metadata_cache_items_cached_total` | Total number of metadata information blocks added to the cache (since service startup) | counter | None
`windows_iis_server_metadata_cache_items_flushed_total` | _Not yet documented_ | counter | None `windows_iis_server_metadata_cache_items_flushed_total` | Total number of metadata information blocks removed from the cache (since service startup) | counter | None
`windows_iis_server_output_cache_active_flushed_items` | _Not yet documented_ | counter | None `windows_iis_server_output_cache_active_flushed_items` | _Not yet documented_ | counter | None
`windows_iis_server_output_cache_items` | _Not yet documented_ | counter | None `windows_iis_server_output_cache_items` | Number of items current present in output cache | counter | None
`windows_iis_server_output_cache_memory_bytes` | _Not yet documented_ | counter | None `windows_iis_server_output_cache_memory_bytes` | Current number of bytes used by output cache | counter | None
`windows_iis_server_output_cache_queries_total` | _Not yet documented_ | counter | None `windows_iis_server_output_cache_queries_total` | Total output cache queries (hits + misses) | counter | None
`windows_iis_server_output_cache_hits_total` | _Not yet documented_ | counter | None `windows_iis_server_output_cache_hits_total` | Total number of successful lookups in output cache (since service startup) | counter | None
`windows_iis_server_output_cache_items_flushed_total` | _Not yet documented_ | counter | None `windows_iis_server_output_cache_items_flushed_total` | Total number of items flushed from output cache (since service startup) | counter | None
`windows_iis_server_output_cache_flushes_total` | _Not yet documented_ | counter | None `windows_iis_server_output_cache_flushes_total` | Total number of flushes of output cache (since service startup) | counter | None
### Example metric ### Example metric
_This collector does not yet have explained examples, we would appreciate your help adding them!_ _This collector does not yet have explained examples, we would appreciate your help adding them!_