Documentation ¶
Index ¶
- func AddTag(ctx context.Context, key, value string)
- func AddTags(ctx context.Context, tags map[string]string)
- func CaptureError(ctx context.Context, err error)
- func CaptureErrorWithOptions(ctx context.Context, err error, options EventOptions)
- func CaptureWarning(ctx context.Context, msg string)
- func CaptureWarningWithOptions(ctx context.Context, msg string, options EventOptions)
- func Close(ctx context.Context)
- func Start(handlerFunc any, options ...Option)
- func WithSpan(ctx context.Context, name string) context.Context
- type EventOptions
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureError ¶
func CaptureErrorWithOptions ¶
func CaptureErrorWithOptions(ctx context.Context, err error, options EventOptions)
func CaptureWarning ¶
func CaptureWarningWithOptions ¶
func CaptureWarningWithOptions(ctx context.Context, msg string, options EventOptions)
Types ¶
type EventOptions ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.