datadog

package module
v0.124.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Overview

Package datadog contains the shared Datadog exporter and Datadog connector configuration.

Index

Constants

This section is empty.

Variables

View Source
var MetricRemappingDisabledFeatureGate = featuregate.GlobalRegistry().MustRegister(
	"exporter.datadogexporter.metricremappingdisabled",
	featuregate.StageAlpha,
	featuregate.WithRegisterDescription("When enabled the Datadog Exporter stops mapping OpenTelemetry semantic conventions to Datadog semantic conventions. This feature gate is only for internal use."),
	featuregate.WithRegisterReferenceURL("https://docs.datadoghq.com/opentelemetry/schema_semantics/metrics_mapping/"),
)

MetricRemappingDisabledFeatureGate is a feature gate that controls the client-side mapping from OpenTelemetry semantic conventions to Datadog semantic conventions

View Source
var OperationAndResourceNameV2FeatureGate = featuregate.GlobalRegistry().MustRegister(
	"datadog.EnableOperationAndResourceNameV2",
	featuregate.StageAlpha,
	featuregate.WithRegisterDescription("When enabled, datadogexporter and datadogconnector use improved logic to compute operation name and resource name."),
	featuregate.WithRegisterFromVersion("v0.118.0"),
)

OperationAndResourceNameV2FeatureGate is a feature gate that enables enhanced span operation name and resource names in Datadog exporter and connector

View Source
var ReceiveResourceSpansV2FeatureGate = featuregate.GlobalRegistry().MustRegister(
	"datadog.EnableReceiveResourceSpansV2",
	featuregate.StageAlpha,
	featuregate.WithRegisterDescription("When enabled, use a refactored implementation of the span receiver which improves performance by 10% and deprecates some not-to-spec functionality."),
	featuregate.WithRegisterFromVersion("v0.118.0"),
	featuregate.WithRegisterToVersion("v0.124.0"),
)

ReceiveResourceSpansV2FeatureGate is a feature gate that enables a refactored implementation of span processing in Datadog exporter and connector

Functions

This section is empty.

Types

type Zaplogger added in v0.120.0

type Zaplogger struct {
	// Logger is the internal zap logger
	Logger *zap.Logger
}

Zaplogger implements the tracelog.Logger interface on top of a zap.Logger

func (*Zaplogger) Critical added in v0.120.0

func (z *Zaplogger) Critical(v ...any) error

Critical implements Logger.

func (*Zaplogger) Criticalf added in v0.120.0

func (z *Zaplogger) Criticalf(format string, params ...any) error

Criticalf implements Logger.

func (*Zaplogger) Debug added in v0.120.0

func (z *Zaplogger) Debug(v ...any)

Debug implements Logger.

func (*Zaplogger) Debugf added in v0.120.0

func (z *Zaplogger) Debugf(format string, params ...any)

Debugf implements Logger.

func (*Zaplogger) Error added in v0.120.0

func (z *Zaplogger) Error(v ...any) error

Error implements Logger.

func (*Zaplogger) Errorf added in v0.120.0

func (z *Zaplogger) Errorf(format string, params ...any) error

Errorf implements Logger.

func (*Zaplogger) Flush added in v0.120.0

func (z *Zaplogger) Flush()

Flush implements Logger.

func (*Zaplogger) Info added in v0.120.0

func (z *Zaplogger) Info(v ...any)

Info implements Logger.

func (*Zaplogger) Infof added in v0.120.0

func (z *Zaplogger) Infof(format string, params ...any)

Infof implements Logger.

func (*Zaplogger) Trace added in v0.120.0

func (z *Zaplogger) Trace(_ ...any)

Trace implements Logger.

func (*Zaplogger) Tracef added in v0.120.0

func (z *Zaplogger) Tracef(_ string, _ ...any)

Tracef implements Logger.

func (*Zaplogger) Warn added in v0.120.0

func (z *Zaplogger) Warn(v ...any) error

Warn implements Logger.

func (*Zaplogger) Warnf added in v0.120.0

func (z *Zaplogger) Warnf(format string, params ...any) error

Warnf implements Logger.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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