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

Function TestDelete

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

Source from the content-addressed store, hash-verified

23)
24
25func TestDelete(t *testing.T) {
26 vec := NewGaugeVec(
27 GaugeOpts{
28 Name: "test",
29 Help: "helpless",
30 },
31 []string{"l1", "l2"},
32 )
33 testDelete(t, vec)
34}
35
36func TestDeleteWithCollisions(t *testing.T) {
37 vec := NewGaugeVec(

Callers

nothing calls this directly

Calls 2

testDeleteFunction · 0.85
NewGaugeVecFunction · 0.70

Tested by

no test coverage detected