agent

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMatchingProfileListener added in v0.10.0

func NewMatchingProfileListener(logger log.Logger, next profilestorepb.ProfileStoreServiceClient) *profileListener

func PreflightChecks added in v0.29.0

func PreflightChecks(
	allowRunningAsNonRoot bool,
	allowRunningInNonRootPIDNamespace bool,
	ignoreUnsafeKernelVersion bool,
) (bool, bool, error)

PreflightChecks checks if the agent is ready to start.

Types

type BatchWriteClient added in v0.10.0

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

BatchWriteClient is a batch writer for profiles.

func NewBatchWriteClient added in v0.3.0

func NewBatchWriteClient(logger log.Logger, reg prometheus.Registerer, wc profilestorepb.ProfileStoreServiceClient, writeInterval time.Duration) *BatchWriteClient

func (*BatchWriteClient) Run added in v0.10.0

func (b *BatchWriteClient) Run(ctx context.Context) error

func (*BatchWriteClient) WriteRaw added in v0.10.0

type NoopProfileStoreClient

type NoopProfileStoreClient struct{}

func (*NoopProfileStoreClient) WriteRaw

Jump to

Keyboard shortcuts

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