package
1.0.0
Repository: https://github.com/0angelic0/dd-trace-go.git
Documentation: pkg.go.dev

# Functions

AddToSpan adds the event to the given span's root span as a tag if stacktrace collection is enabled.
Capture create a new stack trace from the current call stack.
Enabled returns whether stacktrace should be collected.
GetSpanValue returns the value to be set as a tag on a span for the given stacktrace events.
NewEvent creates a new stacktrace event with the given category, type and message.
SkipAndCapture creates a new stack trace from the current call stack, skipping the first `skip` frames.
WithID sets the id of the event.
WithMessage sets the message of the event.
WithType sets the type of the event.

# Constants

ExceptionEvent is the event type for exception events.
ExploitEvent is the event type for exploit events.
No description provided by the author
VulnerabilityEvent is the event type for vulnerability events.

# Structs

Event is the toplevel structure to contain a stacktrace and the additional information needed to correlate it with other data.
StackFrame represents a single frame in the stack trace.

# Type aliases

No description provided by the author
Options is a function type to set optional parameters for the event.
StackTrace is intended to be sent over the span tag `_dd.stack`, the first frame is the current frame.