func NewQueryRestrictor(opts Opts) *QueryRestrictor {
	return &QueryRestrictor{
		matchers: []labels.Matcher{},
		Opts:     opts,
	}
}
NewQueryRestrictor returns a new QueryRestrictor to be built upon
package restrictor
import (
	"fmt"
	"strings"
	"github.com/prometheus/prometheus/pkg/labels"
	"github.com/prometheus/prometheus/promql/parser"
)
type QueryRestrictor struct {
	matchers []labels.Matcher
	Opts
}
type Opts struct {
	ReplaceExistingLabel bool
}
var DefaultOpts = Opts{ReplaceExistingLabel: true}