MCPcopy
hub / github.com/prometheus/client_golang / TestDeletePartialMatch

Function TestDeletePartialMatch

prometheus/vec_test.go:158–167  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

156}
157
158func TestDeletePartialMatch(t *testing.T) {
159 vec := NewGaugeVec(
160 GaugeOpts{
161 Name: "test",
162 Help: "helpless",
163 },
164 []string{"l1", "l2", "l3"},
165 )
166 testDeletePartialMatch(t, vec)
167}
168
169func TestDeletePartialMatchWithConstraints(t *testing.T) {
170 vec := V2.NewGaugeVec(GaugeVecOpts{

Callers

nothing calls this directly

Calls 2

testDeletePartialMatchFunction · 0.85
NewGaugeVecFunction · 0.70

Tested by

no test coverage detected