extension

package
v1.23.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2025 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DdTraceId              ddTraceContext = "x-datadog-trace-id"
	DdParentId             ddTraceContext = "x-datadog-parent-id"
	DdSpanId               ddTraceContext = "x-datadog-span-id"
	DdSamplingPriority     ddTraceContext = "x-datadog-sampling-priority"
	DdInvocationError      ddTraceContext = "x-datadog-invocation-error"
	DdInvocationErrorMsg   ddTraceContext = "x-datadog-invocation-error-msg"
	DdInvocationErrorType  ddTraceContext = "x-datadog-invocation-error-type"
	DdInvocationErrorStack ddTraceContext = "x-datadog-invocation-error-stack"

	DdSeverlessSpan  ddTraceContext = "dd-tracer-serverless-span"
	DdLambdaResponse ddTraceContext = "dd-response"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtensionManager

type ExtensionManager struct {
	// contains filtered or unexported fields
}

func BuildExtensionManager

func BuildExtensionManager(isUniversalInstrumentation bool) *ExtensionManager

func (*ExtensionManager) Flush

func (em *ExtensionManager) Flush() error

func (*ExtensionManager) IsExtensionRunning

func (em *ExtensionManager) IsExtensionRunning() bool

func (*ExtensionManager) SendEndInvocationRequest added in v1.8.0

func (em *ExtensionManager) SendEndInvocationRequest(ctx context.Context, functionExecutionSpan ddtrace.Span, cfg ddtrace.FinishConfig)

func (*ExtensionManager) SendStartInvocationRequest added in v1.8.0

func (em *ExtensionManager) SendStartInvocationRequest(ctx context.Context, eventPayload json.RawMessage) context.Context

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

Jump to

Keyboard shortcuts

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