MCPcopy Index your code
hub / github.com/coder/coder / PromCounterGathered

Function PromCounterGathered

testutil/prometheus.go:37–40  ·  view source on GitHub ↗
(t testing.TB, metrics []*dto.MetricFamily, name string, labels ...string)

Source from the content-addressed store, hash-verified

35}
36
37func PromCounterGathered(t testing.TB, metrics []*dto.MetricFamily, name string, labels ...string) bool {
38 t.Helper()
39 return getMetric(t, metrics, name, labels...) != nil
40}
41
42func PromGaugeGathered(t testing.TB, metrics []*dto.MetricFamily, name string, labels ...string) bool {
43 t.Helper()

Callers 2

TestPGPubsub_MetricsFunction · 0.92
TestProxy_MITMFunction · 0.92

Calls 2

getMetricFunction · 0.85
HelperMethod · 0.65

Tested by 2

TestPGPubsub_MetricsFunction · 0.74
TestProxy_MITMFunction · 0.74