parser

package
v1.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectStats

func CollectStats(ctx context.Context) ([]types.CakeStats, error)

CollectStats polls the kernel via `tc` and returns a slice of CakeStats. Always uses the human-readable text output from `tc -s qdisc` for maximum field coverage. The JSON path (tc -j) is intentionally avoided because the JSON tin representation omits many fields that the text output provides (tier names, target, interval, delay values, per-tier packet counters, etc.).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL