type github.com/prometheus/common/model.SampleValue
20 uses
github.com/prometheus/common/model (current package)
value.go#L43: type SampleValue float64
value.go#L46: func (v SampleValue) MarshalJSON() ([]byte, error) {
value.go#L51: func (v *SampleValue) UnmarshalJSON(b []byte) error {
value.go#L59: *v = SampleValue(f)
value.go#L66: func (v SampleValue) Equal(o SampleValue) bool {
value.go#L73: func (v SampleValue) String() string {
value.go#L80: Value SampleValue
value.go#L115: Value SampleValue `json:"value"`
value.go#L302: Value SampleValue `json:"value"`
value.go#L329: s.Value = SampleValue(value)
github.com/prometheus/common/expfmt
decode.go#L218: Value: model.SampleValue(m.Counter.GetValue()),
decode.go#L249: Value: model.SampleValue(m.Gauge.GetValue()),
decode.go#L280: Value: model.SampleValue(m.Untyped.GetValue()),
decode.go#L319: Value: model.SampleValue(q.GetValue()),
decode.go#L332: Value: model.SampleValue(m.Summary.GetSampleSum()),
decode.go#L344: Value: model.SampleValue(m.Summary.GetSampleCount()),
decode.go#L381: Value: model.SampleValue(q.GetCumulativeCount()),
decode.go#L394: Value: model.SampleValue(m.Histogram.GetSampleSum()),
decode.go#L406: Value: model.SampleValue(m.Histogram.GetSampleCount()),
 |
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. |