observability_lib

package
v0.0.0-...-36422b4 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PSAMPLE_GENL_NAME            = "psample"
	PSAMPLE_NL_MCGRP_SAMPLE_NAME = "packets"
)
View Source
const (
	PSAMPLE_ATTR_IIFINDEX = iota
	PSAMPLE_ATTR_OIFINDEX
	PSAMPLE_ATTR_ORIGSIZE
	PSAMPLE_ATTR_SAMPLE_GROUP
	PSAMPLE_ATTR_GROUP_SEQ
	PSAMPLE_ATTR_SAMPLE_RATE
	PSAMPLE_ATTR_DATA
	PSAMPLE_ATTR_GROUP_REFCOUNT
	PSAMPLE_ATTR_TUNNEL
	PSAMPLE_ATTR_PAD
	PSAMPLE_ATTR_OUT_TC     /* u16 */
	PSAMPLE_ATTR_OUT_TC_OCC /* u64, bytes */
	PSAMPLE_ATTR_LATENCY    /* u64, nanoseconds */
	PSAMPLE_ATTR_TIMESTAMP  /* u64, nanoseconds */
	PSAMPLE_ATTR_PROTO      /* u16 */
	PSAMPLE_ATTR_USER_COOKIE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SampleReader

type SampleReader struct {
	// contains filtered or unexported fields
}

func NewSampleReader

func NewSampleReader(enableDecoder, logCookie, printFullPacket, addOVSCollector bool, srcIP, dstIP, outputFile string) *SampleReader

func (*SampleReader) ReadSamples

func (r *SampleReader) ReadSamples(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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