type github.com/prometheus/common/model.Sample
19 uses
github.com/prometheus/common/model (current package)
value.go#L38: ZeroSample = Sample{Timestamp: Earliest}
value.go#L113: type Sample struct {
value.go#L121: func (s *Sample) Equal(o *Sample) bool {
value.go#L136: func (s Sample) String() string {
value.go#L144: func (s Sample) MarshalJSON() ([]byte, error) {
value.go#L160: func (s *Sample) UnmarshalJSON(b []byte) error {
value.go#L184: type Samples []*Sample
value.go#L356: type Vector []*Sample
github.com/prometheus/common/expfmt
decode.go#L216: smpl := &model.Sample{
decode.go#L247: smpl := &model.Sample{
decode.go#L278: smpl := &model.Sample{
decode.go#L317: samples = append(samples, &model.Sample{
decode.go#L330: samples = append(samples, &model.Sample{
decode.go#L342: samples = append(samples, &model.Sample{
decode.go#L379: samples = append(samples, &model.Sample{
decode.go#L392: samples = append(samples, &model.Sample{
decode.go#L404: count := &model.Sample{
decode.go#L420: samples = append(samples, &model.Sample{
![]() |
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. |