What is Agent 6?
Agent 6 is the latest major version of the Datadog Agent. The big difference between Agent 5 and Agent 6 is that Agent 6 is a complete rewrite of the core Agent in Golang. Don’t worry! We still support the python checks.
Golang has allowed us to take advantage of concurrency. In place of the three processes the Agent used to run--the Forwarder, the Collector, and Dogstatsd--there is now only one process: the Agent. It also comes with a number of other core improvements:
Improved Resource Usage
Agent 6 has significantly improved resource usage over Agent 5. It has decreased CPU and Memory usage. It uses fewer File Descriptors. It has an all around decreased footprint.
Better Windows Support
We wrote the agent with windows in mind from day 1. Our support for windows is much improved
Containers are first class citizens
Container support is better and more robust in the new agent. It has been built with containers in mind, ensuring that the agent runs better on containers and gathers data better from within containers.
Service Discovery is now Autodiscovery. It’s been renamed and revamped. The new Auto Discovery is highly decoupled and it will allow us to add more sources beyond docker.
We can now do global percentiles on the server. It allows us to calculate real, effective global percentiles.
We have improved configuration of the agent and made it much better and easier!
Dogstatsd Over Sockets
You can now use dogstatsd over a unix socket instead of over udp!
More Build Options
You can now custom build the agent and dogstatsd much easier and with much more configuration options, to include or exclude almost anything. We even have a “puppy” agent, that’s a truly minimal installation.
How do I upgrade?
You can upgrade your Agent 5 to Agent 6 by using our upgrade tool available here.