Documentation ¶
Index ¶
Constants ¶
View Source
const ( OptionGoTableFallback = labelMetaPyroscopeOptionsPrefix + "go_table_fallback" OptionCollectKernel = labelMetaPyroscopeOptionsPrefix + "collect_kernel" OptionPythonFullFilePath = labelMetaPyroscopeOptionsPrefix + "python_full_file_path" OptionPythonEnabled = labelMetaPyroscopeOptionsPrefix + "python_enabled" OptionPythonBPFDebugLogEnabled = labelMetaPyroscopeOptionsPrefix + "python_bpf_debug_log" OptionPythonBPFErrorLogEnabled = labelMetaPyroscopeOptionsPrefix + "python_bpf_error_log" OptionDemangle = labelMetaPyroscopeOptionsPrefix + "demangle" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryTarget ¶
func (*DiscoveryTarget) DebugString ¶
func (t *DiscoveryTarget) DebugString() string
type Target ¶
type Target struct {
// contains filtered or unexported fields
}
func NewTarget ¶
func NewTarget(cid containerID, pid uint32, target DiscoveryTarget) *Target
func NewTargetForTesting ¶
func NewTargetForTesting(cid string, pid uint32, target DiscoveryTarget) *Target
todo remove, make containerID exported or use string
func (*Target) ServiceName ¶
type TargetFinder ¶
type TargetFinder interface { FindTarget(pid uint32) *Target RemoveDeadPID(pid uint32) DebugInfo() []map[string]string Update(args TargetsOptions) }
func NewTargetFinder ¶
func NewTargetFinder(fs fs.FS, l log.Logger, options TargetsOptions) (TargetFinder, error)
type TargetsOptions ¶
type TargetsOptions struct { Targets []DiscoveryTarget TargetsOnly bool DefaultTarget DiscoveryTarget ContainerCacheSize int }
Click to show internal directories.
Click to hide internal directories.