MCPcopy Create free account
hub / github.com/prometheus/common / SampleStream

Struct SampleStream

model/value.go:175–179  ·  view source on GitHub ↗

SampleStream is a stream of Values belonging to an attached COWMetric.

Source from the content-addressed store, hash-verified

173
174// SampleStream is a stream of Values belonging to an attached COWMetric.
175type SampleStream struct {
176 Metric Metric `json:"metric"`
177 Values []SamplePair `json:"values"`
178 Histograms []SampleHistogramPair `json:"histograms"`
179}
180
181func (ss SampleStream) String() string {
182 valuesLength := len(ss.Values)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected