- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGauge (0.07 sec)
-
pkg/monitoring/monitoring_test.go
} func TestGauge(t *testing.T) { mt := monitortest.New(t) testGauge.Record(42) testGauge.Record(77) mt.Assert(testGauge.Name(), nil, monitortest.Exactly(77)) } func TestGaugeLabels(t *testing.T) { mt := monitortest.New(t) testGauge.With(kind.Value("foo")).Record(42) testGauge.With(kind.Value("bar")).Record(77) testGauge.With(kind.Value("bar")).Record(72)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 13 16:04:48 UTC 2023 - 8.4K bytes - Viewed (0)