---
title: PDH Check
description: Collect and graph any Windows Performance Counters.
breadcrumbs: Docs > Integrations > PDH Check
---

# PDH Check
Supported OS Integration version4.6.0
## Overview{% #overview %}

**Note:** The usage of PDH check is discouraged, you should use the [Windows performance counters check](https://docs.datadoghq.com/integrations/windows_performance_counters/) instead.

Get metrics from Windows performance counters in real time to:

- Visualize and monitor Windows performance counters through the PDH API.

**Minimum Agent version:** 6.0.0

## Setup{% #setup %}

### Installation{% #installation %}

The PDH check is included in the [Datadog Agent](https://app.datadoghq.com/account/settings/agent/latest) package. No additional installation is needed.

### Configuration{% #configuration %}

1. Edit the `pdh_check.d/conf.yaml` file, in the `conf.d/` folder at the root of your [Agent's configuration directory](https://docs.datadoghq.com/agent/guide/agent-configuration-files/#agent-configuration-directory) to collect Windows performance data. See the [sample pdh_check.d/conf.yaml](https://github.com/DataDog/integrations-core/blob/master/pdh_check/datadog_checks/pdh_check/data/conf.yaml.example) for all available configuration options.

1. [Restart the Agent](https://docs.datadoghq.com/agent/guide/agent-commands/#restart-the-agent).

### Validation{% #validation %}

Run the [Agent's status subcommand](https://docs.datadoghq.com/agent/guide/agent-commands/#agent-status-and-information) and look for `pdh_check` under the Checks section.

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

### Metrics{% #metrics %}

All metrics collected by the PDH check are forwarded to Datadog as [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/), which may impact your [billing](https://docs.datadoghq.com/account_management/billing/custom_metrics/).

### Events{% #events %}

The PDH check does not include any events.

### Service Checks{% #service-checks %}

The PDH check does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
