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

TypeAlias Vector

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

Vector is basically only an alias for Samples, but the contract is that in a Vector, all Samples have the same timestamp.

Source from the content-addressed store, hash-verified

302// Vector is basically only an alias for Samples, but the
303// contract is that in a Vector, all Samples have the same timestamp.
304type Vector []*Sample
305
306func (vec Vector) String() string {
307 entries := make([]string, len(vec))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected