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.
The Agent Metrics check is included in the Datadog Agent package, so you don't need to install anything else on your servers.
-
Edit the
agent_metrics.d/conf.yaml
file, in theconf.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.
Run the Agent's status subcommand and look for agent_metrics
under the Checks section.
All data collected are only available for Agent v5.
See metadata.csv for a list of metrics provided by this integration.
The Agent Metrics check does not include any events.
The Agent Metrics check does not include any service checks.
Need help? Contact Datadog support.