Skip to content

FmtText was removed between v0.42.0 and v0.53.0  #635

@rootulp

Description

@rootulp

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions