Skip to content

Switch from gopkg.in/yaml.* #16415

@bwplotka

Description

@bwplotka

Proposal

Similar to prometheus/proposals#49, but focused on Prometheus direct use of those yaml libraries.

Looks like gopkg.in/yaml.* project seems to be deprecated. Also v2 is EOL.

The https://github.com/goccy/go-yaml is being recommended, also by the author of gopkg.in/yaml. I checked briefly and it looks healthy and even more capable, especially around YAML marshal/unmarshal customizations.

Kudos to @kakkoyun who surfaced this earlier on client_golang.

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