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

Struct HistogramBucket

model/value_histogram.go:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46type HistogramBucket struct {
47 Boundaries int32
48 Lower FloatString
49 Upper FloatString
50 Count FloatString
51}
52
53func (s HistogramBucket) MarshalJSON() ([]byte, error) {
54 b, err := json.Marshal(s.Boundaries)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected