Documentation
¶
Overview ¶
Package datadog provides a telemetry backend that sends events to Datadog's HTTP Logs Intake API. It maps telemetry.Event to Datadog's native log format with region-aware endpoint resolution.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*config)
Option configures the Datadog backend.
func WithEndpoint ¶ added in v1.11.3
WithEndpoint overrides the ingest URL. Used by tests pointing at a local httptest server, and by deployments that proxy Datadog traffic. Takes precedence over WithRegion when both are set.
func WithRegion ¶
WithRegion sets the Datadog region. Default: RegionUS1.
func WithSource ¶
WithSource overrides the ddsource tag. Default: "gtb".
Click to show internal directories.
Click to hide internal directories.