> ## Documentation Index
> Fetch the complete documentation index at: https://otel.fyi/llms.txt
> Use this file to discover all available pages before exploring further.

# Iis

> OpenTelemetry receiver for Iis

# Iis Receiver

![Status](https://img.shields.io/badge/status-beta-yellow)

**Available in:** `contrib`

**Maintainers:** [@ishleenk17](https://github.com/ishleenk17), [@pjanotti](https://github.com/pjanotti)

**Source:** [opentelemetry-collector-contrib](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/iisreceiver)

## Supported Telemetry

![Metrics](https://img.shields.io/badge/metrics-beta-green)

## Overview

## Configuration

The following settings are optional:

* `collection_interval` (default = `10s`): The interval at which metrics should be emitted by this receiver.
* `initial_delay` (default = `1s`): defines how long this receiver waits before starting.

Example:

```yaml theme={null}
    receivers:
      iis:
        collection_interval: 10s
        initial_delay: 1s

```

The full list of settings exposed for this receiver are documented in [config.go](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/iisreceiver/config.go).

## Metrics

Details about the metrics produced by this receiver can be found in [documentation.md](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/iisreceiver/documentation.md)

## Metrics

| Metric Name | Description | Unit | Type | Attributes |
| - | - | - | - | - |
| ✅ `iis.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). | \{state} | Gauge | |
| ✅ `iis.application_pool.uptime` | The application pools uptime period since the last restart. | \{ms} | Gauge | |
| ✅ `iis.connection.active` | Number of active connections. | \{connections} | UpDownCounter | |
| ✅ `iis.connection.anonymous` | Number of connections established anonymously. | \{connections} | Counter | |
| ✅ `iis.connection.attempt.count` | Total number of attempts to connect to the server. | \{attempts} | Counter | |
| ✅ `iis.network.blocked` | Number of bytes blocked due to bandwidth throttling. | By | Counter | |
| ✅ `iis.network.file.count` | Number of transmitted files. | \{files} | Counter | direction |
| ✅ `iis.network.io` | Total amount of bytes sent and received. | By | Counter | direction |
| ✅ `iis.request.count` | Total number of requests of a given type. | \{requests} | Counter | request |
| ✅ `iis.request.queue.age.max` | Age of oldest request in the queue. | ms | Gauge | |
| ✅ `iis.request.queue.count` | Current number of requests in the queue. | \{requests} | UpDownCounter | |
| ✅ `iis.request.rejected` | Total number of requests rejected. | \{requests} | Counter | |
| ✅ `iis.thread.active` | Current number of active threads. | \{threads} | UpDownCounter | |
| ✅ `iis.uptime` | The amount of time the server has been up. | s | Gauge | |

## Attributes

| Attribute Name | Description | Type | Values |
| - | - | - | - |
| `direction` | The direction data is moving. | string | `sent`, `received` |
| `request` | The type of request sent by a client. | string | `delete`, `get`, `head`, `options`, `post`, `put`, `trace` |

## Resource Attributes

| Attribute Name | Description | Type | Enabled |
| - | - | - | - |
| `iis.application_pool` | The application pool, which is associated with worker processes of one or more applications. | string | ✅ |
| `iis.site` | The site of the web server. | string | ✅ |

***

*Last generated: 2026-10-05*
