Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PackageProps = packageprops.Props{ WASMWASI: packageprops.WASMBlocked, WASMJS: packageprops.WASMBlocked, WASMFreestanding: packageprops.WASMBlocked, }
PackageProps records this package's curated properties (ADR-0080). Seeded by `boxer code analysis golang wasmsurvey props generate`; curate by hand. The same group's `props verify` reconciles it.
Functions ¶
func NewCliCommand ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
covsnap
Package covsnap holds the pure-data model of Go coverage (ADR-0169 §SD2/§SD3): the decoded meta-data and counter snapshots, and the sampler's pre-aggregated emission model.
|
Package covsnap holds the pure-data model of Go coverage (ADR-0169 §SD2/§SD3): the decoded meta-data and counter snapshots, and the sampler's pre-aggregated emission model. |
|
Package goruntime reads the running process's own Go runtime metrics (runtime/metrics) into a caller-owned Snapshot.
|
Package goruntime reads the running process's own Go runtime metrics (runtime/metrics) into a caller-owned Snapshot. |
|
Package humanfmt renders metric quantities as compact human-readable strings for the runtime-dashboard apps (imzrt, imztop), which each previously carried a verbatim copy of Bytes (ADR-0061 SD13, same rationale as the SlidingWindow lift).
|
Package humanfmt renders metric quantities as compact human-readable strings for the runtime-dashboard apps (imzrt, imztop), which each previously carried a verbatim copy of Bytes (ADR-0061 SD13, same rationale as the SlidingWindow lift). |
|
pprofarrow
Package pprofarrow converts pprof profiles (profile.proto, as written by runtime/pprof or served by net/http/pprof) into a flat Arrow table designed for SQL exploration — the O1 shape of doc/adr-background-work/pprof-profiles-as-data.md.
|
Package pprofarrow converts pprof profiles (profile.proto, as written by runtime/pprof or served by net/http/pprof) into a flat Arrow table designed for SQL exploration — the O1 shape of doc/adr-background-work/pprof-profiles-as-data.md. |
|
Package slidingwindow provides a fixed-capacity, drop-oldest ring buffer used by the runtime-dashboard samplers (imzrt, imztop) to retain a bounded history of per-tick metric values for plotting.
|
Package slidingwindow provides a fixed-capacity, drop-oldest ring buffer used by the runtime-dashboard samplers (imzrt, imztop) to retain a bounded history of per-tick metric values for plotting. |
|
Package sysmetrics is the entry point for the Linux system metrics collector tree.
|
Package sysmetrics is the entry point for the Linux system metrics collector tree. |
|
battery
Package battery samples battery and AC-adapter state from /sys/class/power_supply.
|
Package battery samples battery and AC-adapter state from /sys/class/power_supply. |
|
container
Package container detects which (if any) container runtime hosts the current process, exposing a typed [EngineE] plus an optional Detail string for runtimes that publish a free-form identifier (e.g.
|
Package container detects which (if any) container runtime hosts the current process, exposing a typed [EngineE] plus an optional Detail string for runtimes that publish a free-form identifier (e.g. |
|
cpu
Package cpu samples Linux CPU state — totals, per-core utilization, load averages, frequency, RAPL power, and the cgroup-effective cpuset — into a single [Snapshot] per sample.
|
Package cpu samples Linux CPU state — totals, per-core utilization, load averages, frequency, RAPL power, and the cgroup-effective cpuset — into a single [Snapshot] per sample. |
|
disk
Package disk samples filesystem mounts and per-block-device I/O state.
|
Package disk samples filesystem mounts and per-block-device I/O state. |
|
gpu
Package gpu hosts the vendor-neutral GPU types — [Device], [Snapshot], and the SamplerI interface — that [sysmetrics.Bundle] wires for cross-vendor consumers.
|
Package gpu hosts the vendor-neutral GPU types — [Device], [Snapshot], and the SamplerI interface — that [sysmetrics.Bundle] wires for cross-vendor consumers. |
|
internal/deltaclock
Package deltaclock helps collectors compute delta-rate metrics from monotonically-increasing counters sampled over time.
|
Package deltaclock helps collectors compute delta-rate metrics from monotonically-increasing counters sampled over time. |
|
internal/procfs
Package procfs is a small set of read-only primitives over a /proc-shaped directory tree.
|
Package procfs is a small set of read-only primitives over a /proc-shaped directory tree. |
|
internal/sysfs
Package sysfs is a small set of read-only primitives over a /sys-shaped directory tree.
|
Package sysfs is a small set of read-only primitives over a /sys-shaped directory tree. |
|
mem
Package mem samples Linux memory statistics from /proc/meminfo and, optionally, the ZFS ARC accounting at /proc/spl/kstat/zfs/arcstats.
|
Package mem samples Linux memory statistics from /proc/meminfo and, optionally, the ZFS ARC accounting at /proc/spl/kstat/zfs/arcstats. |
|
net
Package net samples per-interface network statistics — link state, IPv4/IPv6 addresses, MAC, and rx/tx byte counters with derived rates — from /sys/class/net and the standard library's net.Interfaces (a thin wrapper over getifaddrs(3)).
|
Package net samples per-interface network statistics — link state, IPv4/IPv6 addresses, MAC, and rx/tx byte counters with derived rates — from /sys/class/net and the standard library's net.Interfaces (a thin wrapper over getifaddrs(3)). |
|
proc
Package proc samples the Linux process table by walking /proc/[pid]/{comm,cmdline,stat,statm,status} and yielding one [Info] per visible process.
|
Package proc samples the Linux process table by walking /proc/[pid]/{comm,cmdline,stat,statm,status} and yielding one [Info] per visible process. |
|
psi
Package psi samples Linux Pressure Stall Information (PSI) from /proc/pressure/{cpu,memory,io} — the share of wall-time tasks spent stalled on each resource, averaged over 10/60/300 s windows.
|
Package psi samples Linux Pressure Stall Information (PSI) from /proc/pressure/{cpu,memory,io} — the share of wall-time tasks spent stalled on each resource, averaged over 10/60/300 s windows. |
|
sensors
Package sensors enumerates Linux temperature sensors via the /sys/class/ hwmon subsystem.
|
Package sensors enumerates Linux temperature sensors via the /sys/class/ hwmon subsystem. |
|
sockets
Package sockets samples the host's listening sockets from /proc/net/{tcp,tcp6,udp,udp6,unix} and attributes each to its owning pid via the /proc/[pid]/fd socket-inode walk — the observed-topology listener table of ADR-0126.
|
Package sockets samples the host's listening sockets from /proc/net/{tcp,tcp6,udp,udp6,unix} and attributes each to its owning pid via the /proc/[pid]/fd socket-inode walk — the observed-topology listener table of ADR-0126. |
|
sysmsnap
Package sysmsnap holds the system-metrics data types — the per-domain snapshot structs, the BundleSnapshot union, the static CPU Topology, and the Domain enum — with no collector code.
|
Package sysmsnap holds the system-metrics data types — the per-domain snapshot structs, the BundleSnapshot union, the static CPU Topology, and the Domain enum — with no collector code. |
Click to show internal directories.
Click to hide internal directories.