traceagent

package module
v0.0.0-...-39ef713 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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