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

TypeAlias Matrix

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

Matrix is a list of time series.

Source from the content-addressed store, hash-verified

345
346// Matrix is a list of time series.
347type Matrix []*SampleStream
348
349func (m Matrix) Len() int { return len(m) }
350func (m Matrix) Less(i, j int) bool { return m[i].Metric.Before(m[j].Metric) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected