type github.com/prometheus/common/model.Matrix
7 uses
github.com/prometheus/common/model (current package)
value.go#L242: func (Matrix) Type() ValueType { return ValMatrix }
value.go#L398: type Matrix []*SampleStream
value.go#L400: func (m Matrix) Len() int { return len(m) }
value.go#L401: func (m Matrix) Less(i, j int) bool { return m[i].Metric.Before(m[j].Metric) }
value.go#L402: func (m Matrix) Swap(i, j int) { m[i], m[j] = m[j], m[i] }
value.go#L404: func (mat Matrix) String() string {
value.go#L405: matCp := make(Matrix, len(mat))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |