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

Struct WrappedHistogram

pkg/cortexpb/histograms.go:188–190  ·  view source on GitHub ↗

WrappedHistogram is a Histogram with a size check on Unmarshal. Used only on the ingestion path, not on the query path.

Source from the content-addressed store, hash-verified

186// WrappedHistogram is a Histogram with a size check on Unmarshal.
187// Used only on the ingestion path, not on the query path.
188type WrappedHistogram struct {
189 Histogram
190}
191
192// Unmarshal implements proto.Message.
193func (p *WrappedHistogram) Unmarshal(dAtA []byte) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected