---
title: Fleet Automation
description: >-
  Centrally govern and remotely manage Datadog Agents and OpenTelemetry
  Collectors at scale with configuration views, upgrades, flare collection, and
  API key rotation.
breadcrumbs: Docs > Agent > Fleet Automation
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Fleet Automation

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="info" %}
Fleet View is in Preview on Datadog Government sites (US1-FED and US2-FED).  Additional Fleet Automation functionality such as Configuring Agents, Upgrading Agents, and Upgrading SDKs are not supported for your selected Datadog site ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

Datadog Fleet Automation allows you to centrally govern and remotely manage Datadog Agents and OpenTelemetry (OTel) Collectors at scale to support your evolving observability needs.

{% image
   source="https://docs.dd-static.net/images/agent/fleet_automation/fleet-automation-main.48e9693631b5b36cdab383b3f25083a0.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/agent/fleet_automation/fleet-automation-main.48e9693631b5b36cdab383b3f25083a0.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="The Fleet Automation page showing a list of Agents with their versions, statuses, and enabled products." /%}

## Key capabilities{% #key-capabilities %}

With Fleet Automation, you can:

- **[View Agent and OTel Collector configurations](https://docs.datadoghq.com/agent/fleet_automation/fleet_view.md)** along with historical changes to confirm deployment updates and verify configuration consistency.
- **[Configure Datadog Agents](https://docs.datadoghq.com/agent/fleet_automation/configure_agents.md)** to centralize setup and gain visibility into your environments faster.
- **[Configure Agent Integrations](https://docs.datadoghq.com/agent/fleet_automation/configure_integrations.md)** to deploy, update, and remove integration configuration files across your fleet.
- **[Configure Custom Logs](https://docs.datadoghq.com/agent/fleet_automation/configure_logs.md)** to manage custom log collection settings on your Agents at scale.
- **[Manage Datadog Agent tags](https://www.datadoghq.com/product-preview/modify-tags-fleet-automation/)** *(Preview)* to correct and standardize tagging across your fleet.
- **[Keep your fleet up to date](https://docs.datadoghq.com/agent/fleet_automation/upgrade_agents.md)** by identifying and upgrading outdated Agent and OTel Collector versions.
- **[Upgrade SDKs](https://docs.datadoghq.com/agent/fleet_automation/upgrade_sdks.md)** *(Preview)* to keep the SDKs that power APM, Continuous Profiler, and Dynamic Instrumentation up to date.
- **[Send a support flare remotely](https://docs.datadoghq.com/agent/troubleshooting/send_a_flare.md#send-a-flare-from-the-datadog-site)**, reducing the time it takes to debug issues on an Agent or DDOT Collector.
- **[View your fleet by Kubernetes cluster](https://docs.datadoghq.com/agent/fleet_automation/fleet_view.md#kubernetes-view)** to inspect and configure Agents grouped by cluster instead of as individual hosts.

## Set up Fleet Automation{% #set-up-fleet-automation %}

An Agent appearing in Fleet View does not necessarily have remote management enabled. To remotely upgrade or configure Agents on Linux or Windows VMs, [enable Remote Configuration and set `remote_updates` to `true`](https://docs.datadoghq.com/agent/guide/setup_remote_config.md#enable-remote-agent-management). Check the version and platform requirements for [upgrades](https://docs.datadoghq.com/agent/fleet_automation/upgrade_agents.md) and [configuration changes](https://docs.datadoghq.com/agent/fleet_automation/configure_agents.md).



## Manage Fleet Automation programmatically{% #manage-fleet-automation-programmatically %}

Fleet Automation provides a public API that allows you to programmatically view and manage Datadog Agents at scale. For full endpoint details and usage examples, see the [Fleet Automation API documentation](https://docs.datadoghq.com/api/latest/fleet-automation.md).

{% alert level="info" %}
The Fleet Automation API does not support all Datadog Agent configuration capabilities.
{% /alert %}

You can also create and manage Agent upgrade schedules with the Datadog Terraform provider. Define target hosts, Agent versions, and maintenance windows in Terraform configuration files. For prerequisites and an example, see [Schedule Agent upgrades with Terraform](https://docs.datadoghq.com/agent/fleet_automation/upgrade_agents.md#schedule-agent-upgrades-with-terraform).

## Control access to Fleet Automation{% #control-access-to-fleet-automation %}

Fleet Automation is available to all users in a Datadog organization. You can control access to specific functionality:

| Permission                       | Description                                                                  |
| -------------------------------- | ---------------------------------------------------------------------------- |
| `API Keys Read`                  | Restricts which users can view and search Agents by API key.                 |
| `Agent Flare Collection`         | Restricts which users can remotely send flares from Fleet Automation.        |
| `Agent Upgrade`                  | Restricts which users have access to upgrade Agents from Fleet Automation.   |
| `Agent Configuration Management` | Restricts which users have access to configure Agents from Fleet Automation. |

For information on setting up roles and permissions, see [Access Control](https://docs.datadoghq.com/account_management/rbac.md).

## Further Reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Centrally set up and scale monitoring of your infrastructure and apps with Datadog Fleet Automation](https://www.datadoghq.com/blog/fleet-automation-central-configuration)
- [Manage all your OpenTelemetry collectors with Datadog Fleet Automation](https://www.datadoghq.com/blog/manage-opentelemetry-collectors-with-datadog-fleet-automation)
- [Centralize and govern your OpenTelemetry pipeline with the DDOT gateway](https://www.datadoghq.com/blog/ddot-gateway)
- [Find out more about Remote Configuration](https://docs.datadoghq.com/remote_configuration.md)
- [Learn about the Agent configuration view](https://docs.datadoghq.com/infrastructure/list.md#agent-configuration)
- [Centrally govern and remotely manage Datadog Agents at scale with Fleet Automation](https://www.datadoghq.com/blog/fleet-automation/)
