package
1.15.0
Repository: https://github.com/elastic/apm-agent-go.git
Documentation: pkg.go.dev

# Functions

AppendCallerFrames appends to n frames for the PCs in callers, and returns the extended slice.
AppendStacktrace appends at most n entries to frames, skipping skip frames starting with AppendStacktrace, and returns the extended slice.
FileSystemContextSetter returns a ContextSetter that sets context by reading file contents from the provided http.FileSystem.
IsLibraryPackage reports whether or not the given package path is a library package.
RegisterApplicationPackage registers the given packages as being an application path.
RegisterLibraryPackage registers the given packages as being well-known library path prefixes.
RuntimeFrame returns a Frame based on the given runtime.Frame.
SetContext sets the source context for the given stack frames, with the specified number of pre- and post- lines.
SplitFunctionName splits the function name as formatted in runtime.Frame.Function, and returns the package path and function name components.

# Structs

Frame describes a stack frame.

# Interfaces

ContextSetter is an interface that can be used for setting the source context for a stack frame.