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

TypeAlias SampleValue

model/value_float.go:32–32  ·  view source on GitHub ↗

A SampleValue is a representation of a value for a given sample at a given time.

Source from the content-addressed store, hash-verified

30// A SampleValue is a representation of a value for a given sample at a given
31// time.
32type SampleValue float64
33
34// MarshalJSON implements json.Marshaler.
35func (v SampleValue) MarshalJSON() ([]byte, error) {

Callers 10

extractCounterFunction · 0.92
extractGaugeFunction · 0.92
extractUntypedFunction · 0.92
extractSummaryFunction · 0.92
extractHistogramFunction · 0.92
UnmarshalJSONMethod · 0.85
UnmarshalJSONMethod · 0.85
TestScalarJSONFunction · 0.85
TestEqualValuesFunction · 0.85
TestVectorJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected