---
title: IIS Metrics
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > OpenTelemetry in Datadog > Integrations > IIS Metrics
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# IIS Metrics

## Overview{% #overview %}

{% image
   source="https://docs.dd-static.net/images/opentelemetry/collector_exporter/iis_metrics.d8732538a3b969024afa3b90834abcd4.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/opentelemetry/collector_exporter/iis_metrics.d8732538a3b969024afa3b90834abcd4.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="OpenTelemetry IIS metrics in an IIS dashboard" /%}

The [IIS receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/iisreceiver) collects IIS (Internet Information Services) metrics that populate the [IIS Overview](https://app.datadoghq.com/dash/integration/243/iis---overview) dashboard.

For more information, see the OpenTelemetry project documentation for the [IIS receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/iisreceiver).

## Setup{% #setup %}

This example uses component identifiers from OpenTelemetry Collector Contrib v0.154.0. For other versions or distributions, use the identifiers your distribution supports.

The IIS receiver reads Windows performance counters, so it runs only on Windows. Run the Collector on the IIS host.

The receiver has no required settings. Add the following lines to your Collector configuration:

```yaml
receivers:
  iis:
```

Add `iis` to the `receivers` list of the metrics pipeline in your configuration. Keep the processors already in that pipeline. The Datadog OTLP metrics intake accepts only delta metrics, and this receiver produces cumulative sums, so the pipeline needs `cumulativetodelta`. The [recommended Collector setup](https://docs.datadoghq.com/opentelemetry/setup/collector_exporter.md) includes it.

For all configuration options, see the [IIS receiver documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/iisreceiver).

## Data collected{% #data-collected %}

| OTEL                         | DESCRIPTION                                                                                                                                                          | FILTER                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
| 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). |
| iis.application_pool.uptime  | The application pools uptime period since the last restart.                                                                                                          |
| iis.connection.active        | Number of active connections.                                                                                                                                        |
| iis.connection.anonymous     | Number of connections established anonymously.                                                                                                                       |
| iis.connection.attempt.count | Total number of attempts to connect to the server.                                                                                                                   |
| iis.network.file.count       | Number of transmitted files.                                                                                                                                         | `direction`: `sent`     |
| iis.network.file.count       | Number of transmitted files.                                                                                                                                         | `direction`: `received` |
| iis.network.io               | Total amount of bytes sent and received.                                                                                                                             |
| iis.network.io               | Total amount of bytes sent and received.                                                                                                                             | `direction`: `sent`     |
| iis.network.io               | Total amount of bytes sent and received.                                                                                                                             | `direction`: `received` |
| iis.request.count            | Total number of requests of a given type.                                                                                                                            | `request`: `get`        |
| iis.request.count            | Total number of requests of a given type.                                                                                                                            | `request`: `post`       |
| iis.request.count            | Total number of requests of a given type.                                                                                                                            | `request`: `put`        |
| iis.request.count            | Total number of requests of a given type.                                                                                                                            | `request`: `delete`     |
| iis.request.count            | Total number of requests of a given type.                                                                                                                            | `request`: `head`       |
| iis.request.count            | Total number of requests of a given type.                                                                                                                            | `request`: `options`    |
| iis.request.count            | Total number of requests of a given type.                                                                                                                            | `request`: `trace`      |
| iis.uptime                   | The amount of time the server has been up.                                                                                                                           |

For the full mapping between OpenTelemetry and Datadog metric names, see [OpenTelemetry Metrics Mapping](https://docs.datadoghq.com/opentelemetry/guide/metrics_mapping.md).

## Further reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Setting Up the OpenTelemetry Collector](https://docs.datadoghq.com/opentelemetry/collector_exporter.md)
