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

Method Decode

expfmt/decode.go:32–32  ·  view source on GitHub ↗
(*dto.MetricFamily)

Source from the content-addressed store, hash-verified

30// Decoder types decode an input stream into metric families.
31type Decoder interface {
32 Decode(*dto.MetricFamily) error
33}
34
35// DecodeOptions contains options used by the Decoder and in sample extraction.

Callers 5

LoadTLSConfigFunction · 0.95
TestDottedEncodeFunction · 0.95
DecodeMethod · 0.65

Implementers 4

protoDecoderexpfmt/decode.go
errDecoderexpfmt/decode.go
textDecoderexpfmt/decode.go
SampleDecoderexpfmt/decode.go

Calls

no outgoing calls

Tested by 4

LoadTLSConfigFunction · 0.76
TestDottedEncodeFunction · 0.76