Documentation ¶
Index ¶
- Constants
- type ExtensionManager
- func (em *ExtensionManager) Flush() error
- func (em *ExtensionManager) IsExtensionRunning() bool
- func (em *ExtensionManager) SendEndInvocationRequest(ctx context.Context, functionExecutionSpan ddtrace.Span, ...)
- func (em *ExtensionManager) SendStartInvocationRequest(ctx context.Context, eventPayload json.RawMessage) context.Context
- type HTTPClient
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
Click to show internal directories.
Click to hide internal directories.