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
On this page
Latest version v0.1.0, released August 26, 2026.
Its v0.1.0 release requires Go 1.21 or later. Go end of life dates.
github.com/docker/go-metrics v0.1.0 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 - 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 - 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 - 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 - 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 - 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 - Behavior changed
The package now requires Go 1.21 or later; users on older Go toolchains must upgrade. github.com - Behavior changed
HTTPMetric
HTTPMetric no longer exposes its underlying Prometheus collector directly; code that reached into it must change. github.com - Signature changed
github.com/docker/go-metrics.Labels
Was type Labels map[string]string; now type Labels = prometheus.Labels. pkg.go.dev
Related packages
- github.com/docker/cli
- github.com/docker/docker
- github.com/docker/docker-credential-helpers
- github.com/docker/go-connections
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.