Documentation
¶
Overview ¶
Package datadogreceiver ingests traces in the Datadog APM format and translates them OpenTelemetry for collector usage
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FullTraceIDFeatureGate = featuregate.GlobalRegistry().MustRegister( "receiver.datadogreceiver.Enable128BitTraceID", featuregate.StageAlpha, featuregate.WithRegisterDescription("When enabled, adds support for 128bits TraceIDs for spans coming from Datadog instrumented services."), featuregate.WithRegisterFromVersion("v0.125.0"), featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/36926"), )
Functions ¶
func NewFactory ¶
NewFactory creates a factory for DataDog receiver.
Types ¶
type Config ¶
type Config struct { confighttp.ServerConfig `mapstructure:",squash"` // ReadTimeout of the http server ReadTimeout time.Duration `mapstructure:"read_timeout"` // TraceIDCacheSize sets the cache size for the 64 bits to 128 bits mapping TraceIDCacheSize int `mapstructure:"trace_id_cache_size"` // Intake controls the `/intake` endpoint behavior Intake IntakeConfig `mapstructure:"intake"` // contains filtered or unexported fields }
type IntakeConfig ¶ added in v0.129.0
type IntakeConfig struct { // Behavior sets how the `/intake` endpoint should behave. // The value should be one of: // `disable` (default) - disable the endpoint entirely // `proxy` - proxy the requests to Datadog itself Behavior string `mapstructure:"behavior"` // Proxy controls how the `/intake` proxy operates Proxy ProxyConfig `mapstructure:"proxy"` }
IntakeConfig controls the `/intake` endpoint behavior
type ProxyConfig ¶ added in v0.129.0
type ProxyConfig struct { // API defines the settings for calling Datadog with the proxied requests API datadogconfig.APIConfig `mapstructure:"api"` // contains filtered or unexported fields }
ProxyConfig controls how the `/intake` proxy operates
Directories
¶
Path | Synopsis |
---|---|
internal
|
|
translator/header
Package header defines HTTP headers known convention used by the Trace Agent and Datadog's APM intake.
|
Package header defines HTTP headers known convention used by the Trace Agent and Datadog's APM intake. |
Click to show internal directories.
Click to hide internal directories.