profiles

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SourceEbpf Source = "ebpf"
	SourceGo   Source = "go"

	GoProfileProfile   = "profile"
	GoProfileHeap      = "heap"
	GoProfileGoroutine = "goroutine"
	GoProfileMutex     = "mutex"
	GoProfileBlock     = "block"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Labels

type Labels map[string]string

func (Labels) Hash

func (ls Labels) Hash() uint64

type ProfileKey

type ProfileKey struct {
	ServiceName string
	LabelsHash  uint64
	ProfileType string
}

type Profiles

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

func NewProfiles

func NewProfiles() *Profiles

func (*Profiles) ListenPodEvents added in v1.0.0

func (ps *Profiles) ListenPodEvents(events <-chan k8s.PodEvent)

func (*Profiles) Start added in v1.0.0

func (ps *Profiles) Start()

type Source

type Source string

type Target added in v1.2.0

type Target struct {
	Address     string
	ServiceName string
	Labels      Labels

	Description string
	// contains filtered or unexported fields
}

func TargetFromPod added in v1.2.0

func TargetFromPod(pod *k8s.Pod) *Target

func (*Target) Equal added in v1.2.0

func (t *Target) Equal(other *Target) bool

func (*Target) String added in v1.2.0

func (t *Target) String() string

Jump to

Keyboard shortcuts

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