Skip to main content
The Edge distribution includes support for all protocols: Datadog APIs and OTLP. Use this when your environment sends telemetry in multiple formats.

Supported Endpoints

Configuration

config.json
You can configure separate upstream URLs for logs (logs_url) and metrics (metrics_url). If not specified, they fall back to upstream_url.

Running

When to Use This Distribution

Use the Edge distribution when:
  • Mixed telemetry sources: Some applications use Datadog agents, others use OpenTelemetry
  • Migration: Transitioning from one protocol to another
  • Multi-vendor: Sending data to multiple backends that prefer different protocols
  • Flexibility: Want a single deployment that handles both protocols
For single-protocol environments, prefer the focused distributions: Focused distributions have a smaller binary size and attack surface.

Features

  • Handles Datadog /api/v2/logs and /api/v1/series endpoints
  • Handles OTLP /v1/logs and /v1/metrics endpoints
  • Policy-based filtering (DROP/KEEP) for logs and metrics
  • Separate upstream URLs for logs and metrics
  • Async policy loading (server starts before policy loading completes)
  • Fail-open behavior (errors pass data through unchanged)
  • Lock-free policy updates via atomic snapshots
  • Graceful shutdown with signal handling

Unified Policies

Policies work the same regardless of the incoming protocol. A log filter policy applies to both Datadog logs and OTLP logs.
This policy drops debug logs whether they arrive via /api/v2/logs (Datadog) or /v1/logs (OTLP).

Protocol-Specific Filtering

To apply policies only to specific protocols, match on protocol-specific attributes:
The ddsource attribute is specific to Datadog, so this policy only affects Datadog-format logs.

Resource Considerations

The Edge distribution:
  • Has a larger binary size than focused distributions
  • Loads all protocol modules at startup
  • Uses more memory
For most deployments, this overhead is negligible. Consider focused distributions only if you’re running Edge in constrained environments (embedded systems, very small containers).

Next Steps

Datadog

Datadog-specific configuration

OTLP

OTLP-specific configuration