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

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

github.com/docker/go-metrics v0.1.0 (August 26, 2026) is its newest release with breaking changes, 9 of them. The first: Removed github.com/docker/go-metrics.HTTPMetric.Collector. Every breaking API change we have recorded in github.com/docker/go-metrics on Go modules: 9 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v0.1.0`, released August 26, 2026. 

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

## github.com/docker/go-metrics v0.1.0 breaking changes

github.com/docker/go-metrics v0.1.0, released August 26, 2026: 9 breaking changes.

- **Removed** `github.com/docker/go-metrics.HTTPMetric.Collector`  

github.com/docker/go-metrics.HTTPMetric.Collector was removed in github.com/docker/go-metrics v0.1.0 [pkg.go.dev](https://pkg.go.dev/github.com/docker/go-metrics@v0.1.0)
- **Removed** `github.com/docker/go-metrics.InstrumentHandlerCounter`  

github.com/docker/go-metrics.InstrumentHandlerCounter was removed in github.com/docker/go-metrics v0.1.0 [pkg.go.dev](https://pkg.go.dev/github.com/docker/go-metrics@v0.1.0)
- **Removed** `github.com/docker/go-metrics.InstrumentHandlerDuration`  

github.com/docker/go-metrics.InstrumentHandlerDuration was removed in github.com/docker/go-metrics v0.1.0 [pkg.go.dev](https://pkg.go.dev/github.com/docker/go-metrics@v0.1.0)
- **Removed** `github.com/docker/go-metrics.InstrumentHandlerInFlight`  

github.com/docker/go-metrics.InstrumentHandlerInFlight was removed in github.com/docker/go-metrics v0.1.0 [pkg.go.dev](https://pkg.go.dev/github.com/docker/go-metrics@v0.1.0)
- **Removed** `github.com/docker/go-metrics.InstrumentHandlerRequestSize`  

github.com/docker/go-metrics.InstrumentHandlerRequestSize was removed in github.com/docker/go-metrics v0.1.0 [pkg.go.dev](https://pkg.go.dev/github.com/docker/go-metrics@v0.1.0)
- **Removed** `github.com/docker/go-metrics.InstrumentHandlerResponseSize`  

github.com/docker/go-metrics.InstrumentHandlerResponseSize was removed in github.com/docker/go-metrics v0.1.0 [pkg.go.dev](https://pkg.go.dev/github.com/docker/go-metrics@v0.1.0)
- **Behavior changed**  

The package now requires Go 1.21 or later; users on older Go toolchains must upgrade. [github.com](https://github.com/docker/go-metrics/releases/tag/v0.1.0)
- **Behavior changed** `HTTPMetric`  

HTTPMetric no longer exposes its underlying Prometheus collector directly; code that reached into it must change. [github.com](https://github.com/docker/go-metrics/releases/tag/v0.1.0)
- **Signature changed** `github.com/docker/go-metrics.Labels`  

Was type Labels map\[string\]string; now type Labels = prometheus.Labels. [pkg.go.dev](https://pkg.go.dev/github.com/docker/go-metrics@v0.1.0)

## Related packages

- [github.com/docker/cli](https://since.dev/packages/go/github.com/docker/cli.md)
- [github.com/docker/docker](https://since.dev/packages/go/github.com/docker/docker.md)
- [github.com/docker/docker-credential-helpers](https://since.dev/packages/go/github.com/docker/docker-credential-helpers.md)
- [github.com/docker/go-connections](https://since.dev/packages/go/github.com/docker/go-connections.md)

## 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.
