---
title: "Announcing Datadog Agent 5.1 with support for Btrfs and Go expvar"
description: "Introducing support of Btrfs and Go expvar and expanded support of our PostgreSQL, Jenkins, MongoDB and directory integrations. Learn more."
author: "Matt Williams"
date: 2014-11-24
tags: ["datadog agent", "btrfs", "go", "storage"]
blog_type_id: the-monitor
locale: en
---

We are excited to announce the newest release of the Datadog Agent (dd-agent 5.1.0). This latest Agent adds improved support for [Btrfs](https://btrfs.wiki.kernel.org/index.php/Main_Page) and [Go expvar](http://golang.org/pkg/expvar/) and expands support for a few existing integrations (PostgreSQL, Jenkins, and more). You can find the detailed ChangeLog [here](https://github.com/DataDog/dd-agent/blob/master/CHANGELOG.md "datadog agent 5.1 changelog").

## Introducing support for Btrfs

Datadog Agent 5.1.0 introduces support for a relatively new Linux filesystem called Btrfs. Btrfs is already gaining traction and many of our customers are testing it in conjunction with [Docker](https://www.datadoghq.com/blog/monitor-docker-datadog.md). Although the Datadog Agent 5.0 ran on Btrfs-based systems, its metrics for file sizes and disk usage were not reflecting the Copy-on-Write optimizations properly. This new update remedies that issue.

![Displaying Used and Total Bytes on a Btrfs filesystem](https://web-assets.dd-static.net/42588/1776353858-announcing-datadog-agent-5-1-support-btrfs-and-go-expvar-btrfsandgoreleaseimage1.png)
*Displaying Used and Total Bytes on a Btrfs filesystem*

## Introducing support for Go expvar

Another new feature for Datadog Agent 5.1.0 is support for "expvar" in Go. expvar is a Golang package that automatically exports the variables you specify and publishes them over http. Support for expvar means that those variables will now be available as metrics in a dashboard.

![Displaying a Golang expvar value](https://web-assets.dd-static.net/42588/1776353863-announcing-datadog-agent-5-1-support-btrfs-and-go-expvar-btrfsandgoreleaseimage2.png)
*Displaying a Golang expvar value*

## Expanded support for existing integrations

We have expanded our support for [PostgreSQL](https://docs.datadoghq.com/integrations/postgres.md), [Jenkins](https://docs.datadoghq.com/integrations/jenkins.md), [MongoDB](https://docs.datadoghq.com/integrations/mongo.md), and directory integrations.

- **PostgreSQL** - You can now access lock counts and bgwriter metrics to have a more in-depth view of the performance of your PostgreSQL database. As PostgreSQL users, we use the new metrics extensively.
- **Jenkins** - You can now add results and build number to events tags. Thanks to [Jesse Zoldak](https://github.com/jzoldak) for this contribution.
- [**MongoDB**](https://www.datadoghq.com/blog/monitoring-mongodb-performance-metrics-wiredtiger.md) - Adds logging of server status errors. Thanks to [Ivan Groenewold](https://github.com/igroene) for this contribution.
- **Directories** - Allows for file-specific gauges for the purpose of monitoring lock files. Thanks to [Markus Ostertag](https://github.com/Osterjour) for this contribution.

Datadog Agent 5.1 is available today and upgrade instructions can be found [here](https://github.com/DataDog/dd-agent/wiki/Upgrade-to-Agent-5.x). If you're not currently a Datadog customer, sign up for a <!-- Sign-up trigger (14-day free trial) omitted --> of Datadog and check out the latest support enhancements for Btrfs and Go expvar!