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

# Agent Metrics
Supported OS Integration version1.0.0
## 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) |
| **datadog.agent.running**(gauge)        |
| **datadog.agent.started**(count)        |

### 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/).
