observability

package
v0.0.0-...-18c0211 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DropSamplingID = iota + 1
	ACLNewTrafficSamplingID
	ACLEstTrafficSamplingID
)

OVN observ app IDs. Make sure to always add new apps in the end.

View Source
const DefaultObservabilityCollectorSetID = 42

temporary const, until we have dynamic config

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(nbClient libovsdbclient.Client) error

Cleanup must be called when observability is no longer needed. It will return an error if some samples still exist in the db. This is expected, and Cleanup may be retried on the next restart.

Types

type Manager

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

func NewManager

func NewManager(nbClient libovsdbclient.Client) *Manager

func (*Manager) Init

func (m *Manager) Init() error

func (*Manager) SamplingConfig

func (m *Manager) SamplingConfig() *libovsdbops.SamplingConfig

Jump to

Keyboard shortcuts

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