MCPcopy Create free account
hub / github.com/cortexproject/cortex / ActiveNativeHistogram

Method ActiveNativeHistogram

pkg/ingester/active_series.go:82–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80}
81
82func (c *ActiveSeries) ActiveNativeHistogram() int {
83 total := 0
84 for s := range numActiveSeriesStripes {
85 total += c.stripes[s].getActiveNativeHistogram()
86 }
87 return total
88}
89
90func (s *activeSeriesStripe) updateSeriesTimestamp(now time.Time, series labels.Labels, fingerprint uint64, nativeHistogram bool, labelsCopy func(labels.Labels) labels.Labels) {
91 nowNanos := now.UnixNano()

Callers 5

TestActiveSeries_PurgeFunction · 0.95
PreCreationMethod · 0.80
updateActiveSeriesMethod · 0.80

Calls 1

Tested by 3

TestActiveSeries_PurgeFunction · 0.76