Documentation ¶
Overview ¶
Package traceagent provides the agent component type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component interface { // SetOTelAttributeTranslator sets the OTel attributes translator of the underlying trace agent. SetOTelAttributeTranslator(attrstrans *attributes.Translator) // ReceiveOTLPSpans forwards the OTLP spans to the underlying trace agent to process. ReceiveOTLPSpans(ctx context.Context, rspans ptrace.ResourceSpans, httpHeader http.Header) source.Source // SendStatsPayload sends a stats payload to the Datadog backend. SendStatsPayload(p *pb.StatsPayload) }
Component is the agent component type.
Click to show internal directories.
Click to hide internal directories.