datadogconnector

package module
v0.69.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package datadogconnector contains a connector component that derives APM statistics, in the form of metrics, from service traces, for display in the Datadog APM product. This component is required for trace-emitting services and their statistics to appear in Datadog APM.

Index

Constants

View Source
const (
	TracesToMetricsStability = component.StabilityLevelBeta
	TracesToTracesStability  = component.StabilityLevelBeta
)

Variables

View Source
var (
	Type      = component.MustNewType("datadog")
	ScopeName = "github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/connector/datadogconnector"
)

Functions

func NewFactory

func NewFactory() connector.Factory

NewFactory creates a factory for datadog connector.

func NewFactoryForAgent

func NewFactoryForAgent(tagger types.TaggerClient, hostGetter SourceProviderFunc) connector.Factory

NewFactoryForAgent creates a factory for datadog connector for use in OTel agent

Types

type Config

type Config struct {
	// Traces defines the Traces specific configuration
	Traces datadogconfig.TracesConnectorConfig `mapstructure:"traces"`
}

Config defines configuration for the Datadog connector.

func (*Config) Validate

func (c *Config) Validate() error

Validate checks if the configuration is valid

type SourceProviderFunc

type SourceProviderFunc func(context.Context) (string, error)

SourceProviderFunc is a function that returns the source of the host.

Jump to

Keyboard shortcuts

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