---
title: "github.com/armon/go-metrics v0.7.0 Breaking Changes"
description: "What each github.com/armon/go-metrics release removed, renamed or changed: 9 breaking changes in 4 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/armon/go-metrics
last_updated: 2026-12-04
---

# github.com/armon/go-metrics breaking changes

github.com/armon/go-metrics v0.7.0 (September 16, 2026) is its newest release with breaking changes, 2 of them. The first: Removes the compatibility shim between hashicorp/go-metrics and armon/go-metrics in github.com/armon/go-metrics v0.7.0. Every breaking API change we have recorded in github.com/armon/go-metrics on Go modules: 9 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v0.7.0`, released September 16, 2026. [Source repository](https://github.com/armon/go-metrics)

Its v0.4.0 release requires Go 1.16 or later. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v0.4.0](#v-v0-4-0) to [v0.7.0](#v-v0-7-0): 4 breaking changes in 3 versions.

## github.com/armon/go-metrics v0.7.0 breaking changes

github.com/armon/go-metrics v0.7.0, released September 16, 2026: 2 breaking changes.

- **Removed**  

The long-standing compatibility shim between the two module paths is gone. Consumers of this library must upgrade other libraries that depend on it at the same time as the application. [github.com](https://github.com/hashicorp/go-metrics/releases/tag/v0.7.0)
- **Removed** `github.com/armon/go-metrics/compat`  

github.com/armon/go-metrics/compat was removed in github.com/armon/go-metrics v0.7.0 [pkg.go.dev](https://pkg.go.dev/github.com/armon/go-metrics@v0.7.0)

## github.com/armon/go-metrics v0.6.0 breaking changes

github.com/armon/go-metrics v0.6.0: 1 breaking change.

- **Behavior changed**  

DataDog metrics now include a trailing newline, so dogstatsd agents can enable truncation detection with dogstatsd_eol_required. Agent operators may need to review their configuration. [github.com](https://github.com/hashicorp/go-metrics/releases/tag/v0.6.0)

## github.com/armon/go-metrics v0.5.0 breaking changes

github.com/armon/go-metrics v0.5.0, released June 8, 2023: 1 breaking change.

- **Renamed**  

The module was renamed, so imports must switch to hashicorp/go-metrics. Libraries in the same program that use the global metrics handler must also be updated, or they may send metrics to different handlers. [github.com](https://github.com/hashicorp/go-metrics/releases/tag/v0.5.0)

## github.com/armon/go-metrics v0.4.0 breaking changes

github.com/armon/go-metrics v0.4.0, released May 25, 2022: 5 breaking changes.

- **Removed** `github.com/armon/go-metrics.BlackholeSink.Shutdown`  

github.com/armon/go-metrics.BlackholeSink.Shutdown was removed in github.com/armon/go-metrics v0.4.0 [pkg.go.dev](https://pkg.go.dev/github.com/armon/go-metrics@v0.4.0)
- **Removed** `github.com/armon/go-metrics.InmemSink.Shutdown`  

github.com/armon/go-metrics.InmemSink.Shutdown was removed in github.com/armon/go-metrics v0.4.0 [pkg.go.dev](https://pkg.go.dev/github.com/armon/go-metrics@v0.4.0)
- **Removed** `github.com/armon/go-metrics.MetricSink.Shutdown`  

github.com/armon/go-metrics.MetricSink.Shutdown was removed in github.com/armon/go-metrics v0.4.0 [pkg.go.dev](https://pkg.go.dev/github.com/armon/go-metrics@v0.4.0)
- **Removed** `github.com/armon/go-metrics/prometheus.PrometheusSink.Shutdown`  

github.com/armon/go-metrics/prometheus.PrometheusSink.Shutdown was removed in github.com/armon/go-metrics v0.4.0 [pkg.go.dev](https://pkg.go.dev/github.com/armon/go-metrics@v0.4.0)
- **Configuration changed**  

The release updates the Go versions it supports to 1.16, 1.17 and 1.18. Users on older Go toolchains should upgrade before adopting this release. [github.com](https://github.com/hashicorp/go-metrics/releases/tag/v0.4.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
