Skip to content

Latest commit

 

History

History
 
 

agent_metrics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Agent Metrics Integration

Overview

Get metrics from the Agent Metrics service in real time to:

  • Visualize and monitor agent_metrics states.
  • Be notified about agent_metrics failovers and events.

NOTE: The Agent Metrics check has been rewritten in Go for Agent v6 to take advantage of the new internal architecture. Hence it is still maintained but only works with Agents prior to major version 6.

To collect Agent metrics for Agent v6+, use the Go-expvar check with the agent_stats.yaml configuration file packaged with the Agent.

Setup

Installation

The Agent Metrics check is included in the Datadog Agent package, so you don't need to install anything else on your servers.

Configuration

  1. Edit the agent_metrics.d/conf.yaml file, in the conf.d/ folder at the root of your Agent's configuration directory, to point to your server and port, set the masters to monitor. See the sample agent_metrics.d/conf.yaml for all available configuration options.

  2. Restart the Agent.

Validation

Run the Agent's status subcommand and look for agent_metrics under the Checks section.

Data Collected

All data collected are only available for Agent v5.

Metrics

See metadata.csv for a list of metrics provided by this integration.

Events

The Agent Metrics check does not include any events.

Service Checks

The Agent Metrics check does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.