-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
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 .
simonpasquier