profiles

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 16 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 Pod

type Pod struct {
	*discovery.Pod
}

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, error)

func (*Profiles) ListenPodEvents added in v1.0.0

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

func (*Profiles) Start added in v1.0.0

func (ps *Profiles) Start()

type ScrapeTarget

type ScrapeTarget struct {
	Address     string
	ServiceName string
	Labels      Labels
}

type Source

type Source string

Jump to

Keyboard shortcuts

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