apmint

package
v0.0.0-...-0958f0d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package apmint implements a pseudo interpreter handler that detects APM agent libraries, establishes socket connections with them and notifies them about the stack traces that we collected for their process. This allows the APM agent to associate stack traces with APM traces / transactions / spans.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Loader

Loader implements interpreter.Loader.

Types

type Instance

type Instance struct {
	interpreter.InstanceStubs
	// contains filtered or unexported fields
}

func (*Instance) APMServiceName

func (i *Instance) APMServiceName() string

APMServiceName returns the service name advertised by the APM agent.

func (*Instance) Detach

func (i *Instance) Detach(ebpf interpreter.EbpfHandler, pid libpf.PID) error

Detach implements the interpreter.Instance interface.

func (*Instance) NotifyAPMAgent

func (i *Instance) NotifyAPMAgent(
	pid libpf.PID, rawTrace *host.Trace, umTraceHash libpf.TraceHash, count uint16)

NotifyAPMAgent sends out collected traces to the connected APM agent.

Jump to

Keyboard shortcuts

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