Skip to content

Remove dependency on prometheus/tsdb #586

@beorn7

Description

@beorn7

This repo has a dependency on prometheus/tsdb solely for using the github.com/prometheus/tsdb/testutil package.

Using testutil packages is a disputed practice in the Go community. I'd like to avoid it if we can in a widely used library like this one.

If we really have to use a Prometheus-owned testutil package, it should live in prometheus/common. (The fact that it doesn't live there probably implies that this package was never meant to be used outside of prometheus/tsdb.)

For some context, see https://github.com/prometheus/client_golang/pull/570/files#r286247680 .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions