---
title: Agent Metrics
description: agent_metrics description.
breadcrumbs: Docs > Integrations > Agent Metrics
---

# Agent Metrics
Supported OS Integration version1.0.0
{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

Get internal metrics from the Datadog Agent to create visualizations and monitors in Datadog.

**Note:** The list of metrics collected by this integration may change between minor Agent versions. Such changes may not be mentioned in the Agent's changelog.

## Setup{% #setup %}

### Installation{% #installation %}

The Agent Metrics integration, based on the [go_expvar](https://docs.datadoghq.com/integrations/go_expvar.md) check, is included in the [Datadog Agent](https://app.datadoghq.com/account/settings/agent/latest) package, so you don't need to install anything else on your servers.

### Configuration{% #configuration %}

1. Rename the [`go_expvar.d/agent_stats.yaml.example`](https://github.com/DataDog/datadog-agent/blob/master/cmd/agent/dist/conf.d/go_expvar.d/agent_stats.yaml.example) file, in the `conf.d/` folder at the root of your [Agent's configuration directory](https://docs.datadoghq.com/agent/guide/agent-configuration-files.md#agent-configuration-directory), to `go_expvar.d/agent_stats.yaml`.

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

### Validation{% #validation %}

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

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

### Metrics{% #metrics %}

|  |
|  |
| **datadog.agent.python.version**(gauge) | A value of 1, tagged with the Python version.                                                 |
| **datadog.agent.running**(gauge)        | A value of 1 if the Agent is running and reporting to Datadog, tagged with the Agent version. |
| **datadog.agent.started**(count)        | A count of 1 each time the Agent starts.                                                      |

### Events{% #events %}

The Agent Metrics integration does not include any events.

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

The Agent Metrics integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

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