type github.com/prometheus/common/model.SamplePair
13 uses
github.com/prometheus/common/model (current package)
value.go#L31: ZeroSamplePair = SamplePair{Timestamp: Earliest}
value.go#L78: type SamplePair struct {
value.go#L84: func (s SamplePair) MarshalJSON() ([]byte, error) {
value.go#L97: func (s *SamplePair) UnmarshalJSON(b []byte) error {
value.go#L104: func (s *SamplePair) Equal(o *SamplePair) bool {
value.go#L108: func (s SamplePair) String() string {
value.go#L137: return fmt.Sprintf("%s => %s", s.Metric, SamplePair{
value.go#L147: Value SamplePair `json:"value"`
value.go#L150: Value: SamplePair{
value.go#L163: Value SamplePair `json:"value"`
value.go#L166: Value: SamplePair{
value.go#L225: Values []SamplePair `json:"values"`
![]() |
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. |