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) SamplingConfig ¶
func (m *Manager) SamplingConfig() *libovsdbops.SamplingConfig
Click to show internal directories.
Click to hide internal directories.