Closed rootulp closed 1 month ago
I'm upgrading a codebase from
-github.com/prometheus/common v0.42.0 +github.com/prometheus/common v0.53.0
and encountered these errors
telemetry/metrics.go:151:37: undefined: expfmt.FmtText telemetry/metrics.go:158:51: undefined: expfmt.FmtText
However there was no mention of a deprecation of FmtText in the release notes between v0.42.0 and v0.53.0. When was it removed and what should consumers do instead of calling FmtText?
FmtText
It was dropped in this commit which was first included in v0.48.0. v0.48.0 release notes do mention something so I'll look at https://github.com/prometheus/common/pull/576 to try and resolve my issue.
I'm upgrading a codebase from
and encountered these errors
However there was no mention of a deprecation of
FmtText
in the release notes between v0.42.0 and v0.53.0. When was it removed and what should consumers do instead of callingFmtText
?