By importing the system "testing" package, any users of the prometheusx package inherited a long list of "testing" flags that would almost never be needed (see below) by users of prometheusx.MustStartPrometheus.
This change adds a new sub package of prometheusx named promtest that contains the LintMetrics function. No new code was added.
By importing the system "testing" package, any users of the
prometheusx
package inherited a long list of "testing" flags that would almost never be needed (see below) by users ofprometheusx.MustStartPrometheus
.This change adds a new sub package of prometheusx named
promtest
that contains theLintMetrics
function. No new code was added.This change is not backward compatible.
This change is