MCPcopy
hub / github.com/prometheus/prometheus / TestHistogramStaleSample

Function TestHistogramStaleSample

tsdb/head_test.go:5140–5147  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

5138}
5139
5140func TestHistogramStaleSample(t *testing.T) {
5141 t.Run("integer histogram", func(t *testing.T) {
5142 testHistogramStaleSampleHelper(t, false)
5143 })
5144 t.Run("float histogram", func(t *testing.T) {
5145 testHistogramStaleSampleHelper(t, true)
5146 })
5147}
5148
5149func testHistogramStaleSampleHelper(t *testing.T, floatHistogram bool) {
5150 t.Helper()

Callers

nothing calls this directly

Calls 2

RunMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…