package
2.4.2
Repository: https://github.com/cloudflare/ebpf_exporter.git
Documentation: pkg.go.dev

# Functions

NewCgroupDecoder creates a new cgroup decoder.
NewSet creates a Set with all known decoders.

# Variables

ErrSkipLabelSet instructs exporter to skip label set.

# Structs

CGroup is a decoder that transforms cgroup id to path in cgroupfs.
Dname is a decoder that decodes DNS qname wire format.
Errno is a decoder that transforms unsigned errno integers into their string values.
Hex is a decoder that decodes raw bytes into their hex string representation.
IfName is a decoder that transforms a network interface index into its name.
InetIP is a decoder that transforms an ip byte representation into a string.
KStack is a decoder that transforms an array of kernel frame addresses to a newline separated stack of symbols.
KSym is a decoder that transforms kernel address to a function name.
MajorMinor is a decoder that transforms minormajor device id into name.
PCIClass is a decoder that transforms PCI class id into a name.
PCIDevice is a decoder that transforms PCI device id into a name.
PCISubClass is a decoder that transforms PCI class id into a name.
PCIVendor is a decoder that transforms PCI vendor id into a name.
Regexp is a decoder that only allows inputs matching regexp.
Set is a set of Decoders that may be applied to produce a label.
StaticMap is a decoded that maps values according to a static map.
String is a decoder that decodes strings coming from the kernel.
Syscall is a decoder that decodes syscall numbers into their names.
UInt is a decoder that transforms unsigned integers into their string values.

# Interfaces

Decoder transforms byte field value into a byte value representing string to either use as an input for another Decoder or to use as the final label value for Prometheus metrics.