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

# IIS Metrics

## Overview{% #overview %}

{% image
   source="https://datadog-docs.imgix.net/images/opentelemetry/collector_exporter/iis_metrics.d8732538a3b969024afa3b90834abcd4.png?auto=format"
   alt="OpenTelemetry IIS metrics in an IIS dashboard" /%}

The [IIS receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/iisreceiver) allows for collection of IIS (Internet Information Services) metrics and access to the [IIS Overview](https://app.datadoghq.com/screen/integration/243/iis---overview) dashboard. Configure the receiver according to the specifications of the latest version of the `iisreceiver`.

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 %}

To collect IIS metrics with OpenTelemetry for use with Datadog:

1. Configure the [IIS receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/iisreceiver) in your OpenTelemetry Collector configuration.
1. Ensure the OpenTelemetry Collector is [configured to export to Datadog](https://docs.datadoghq.com/opentelemetry/setup/collector_exporter/).

See the [IIS receiver documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/iisreceiver) for detailed configuration options and requirements.

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

| OTEL                         | DATADOG                          | DESCRIPTION                                                                                                                                                          | FILTER                  | TRANSFORM |
| ---------------------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | --------- |
| iis.application_pool.state   | iis.app_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  | iis.app_pool.uptime              | The application pools uptime period since the last restart.                                                                                                          | × 0.001                 |
| iis.connection.active        | iis.net.num_connections          | Number of active connections.                                                                                                                                        |
| iis.connection.anonymous     | iis.users.anon                   | Number of connections established anonymously.                                                                                                                       |
| iis.connection.attempt.count | iis.net.connection_attempts      | Total number of attempts to connect to the server.                                                                                                                   |
| iis.network.file.count       | iis.net.files_sent               | Number of transmitted files.                                                                                                                                         | `direction`: `sent`     |
| iis.network.file.count       | iis.net.files_rcvd               | Number of transmitted files.                                                                                                                                         | `direction`: `received` |
| iis.network.io               | iis.net.bytes_total              | Total amount of bytes sent and received.                                                                                                                             |
| iis.network.io               | iis.net.bytes_sent               | Total amount of bytes sent and received.                                                                                                                             | `direction`: `sent`     |
| iis.network.io               | iis.net.bytes_rcvd               | Total amount of bytes sent and received.                                                                                                                             | `direction`: `received` |
| iis.request.count            | iis.httpd_request_method.get     | Total number of requests of a given type.                                                                                                                            | `request`: `get`        |
| iis.request.count            | iis.httpd_request_method.post    | Total number of requests of a given type.                                                                                                                            | `request`: `post`       |
| iis.request.count            | iis.httpd_request_method.put     | Total number of requests of a given type.                                                                                                                            | `request`: `put`        |
| iis.request.count            | iis.httpd_request_method.delete  | Total number of requests of a given type.                                                                                                                            | `request`: `delete`     |
| iis.request.count            | iis.httpd_request_method.head    | Total number of requests of a given type.                                                                                                                            | `request`: `head`       |
| iis.request.count            | iis.httpd_request_method.options | Total number of requests of a given type.                                                                                                                            | `request`: `options`    |
| iis.request.count            | iis.httpd_request_method.trace   | Total number of requests of a given type.                                                                                                                            | `request`: `trace`      |
| iis.uptime                   | iis.uptime                       | The amount of time the server has been up.                                                                                                                           |

See [OpenTelemetry Metrics Mapping](https://docs.datadoghq.com/opentelemetry/guide/metrics_mapping/) for more information.

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

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