Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpPacketCounters ¶ added in v0.13.0
func DumpPacketCounters(interfaces map[string]interfaceInfo, inboundSummary *trace.PacketCountSummary, outboundSummary *trace.PacketCountSummary)
DumpPacketCounters prints the accumulated packet counts per interface and per port, at Debug level, to stderr. The first argument should be the keyed by interface names (as created in the Run function below); all we really need are those names.
Types ¶
type Args ¶
type Args struct { // Required args ClientID akid.ClientID Domain string // If both LocalPath and AkitaURI are set, data is teed to both local traces // and backend trace. // If unset, defaults to a random spec on Akita Cloud. Out location.Location Interfaces []string Filter string Tags map[string]string PathExclusions []string HostExclusions []string SampleRate float64 // If set, apidump will run the command in a subshell and terminate // automatically when the subcommand terminates. // // apidump will pipe stdout and stderr from the command. If the command stops // with non-zero exit code, apidump will also exit with the same exit code. ExecCommand string // Username to run ExecCommand as. If not set, defaults to the current user. ExecCommandUser string Plugins []plugin.AkitaPlugin }
Click to show internal directories.
Click to hide internal directories.