MCPcopy Index your code
hub / github.com/cloudflare/ebpf_exporter / Decode

Method Decode

decoder/decoder.go:21–21  ·  view source on GitHub ↗
(in []byte, conf config.Decoder)

Source from the content-addressed store, hash-verified

19// label value for Prometheus metrics
20type Decoder interface {
21 Decode(in []byte, conf config.Decoder) ([]byte, error)
22}
23
24// Set is a set of Decoders that may be applied to produce a label

Callers 4

decodeMethod · 0.65
testPCIMissingFunction · 0.65
testPCIPresentFunction · 0.65
ParseConfigsFunction · 0.65

Implementers 15

KStackdecoder/kstack.go
UIntdecoder/uint.go
Stringdecoder/string.go
PCISubClassdecoder/pci_subclass.go
KSymdecoder/ksym.go
Dnamedecoder/dname.go
IfNamedecoder/ifname.go
PCIClassdecoder/pci_class.go
MajorMinordecoder/majorminor.go
CGroupdecoder/cgroup.go
Hexdecoder/hex.go
PCIVendordecoder/pci_vendor.go

Calls

no outgoing calls

Tested by 2

testPCIMissingFunction · 0.52
testPCIPresentFunction · 0.52