Skip to main content

Supported Data Types

📘 Logs | 📈 Metrics
Traces are not supported through the Datadog source. Traces must be sent directly to Datadog. See the Datadog Agent Configuration guide for details.

Supported Metric Types

The Datadog source accepts all standard Datadog metric types:
Metric TypeDescription
GaugeRepresents the current value of a metric at a point in time
CountTracks the number of events over a flush interval
RateTracks the per-second rate of events over a flush interval
HistogramAgent-side aggregated percentiles, averages, and counts
DistributionServer-side aggregated percentiles using raw sketch data

Configuration

NameTypeDefaultRequiredDescription
NameStringnonetrueUnique identifier within Sawmills
Logs AddressString${env:MY_POD_IP}trueAddress the Datadog source should listen to for logs
Logs PortInt10518truePort the Datadog source should listen to for logs
Metrics AddressString${env:MY_POD_IP}trueAddress to which the Datadog Metrics source should bind. Defaults to ${env:MY_POD_IP}.
Metrics PortInt8126truePort to which the Datadog Metrics source should bind.
The pod’s IP address is retrieved by defining an environment variable MY_POD_IP from the pod’s status field status.podIP. You can access this value using ${env:MY_POD_IP} in your configuration to dynamically reference the pod’s IP at runtime.
For instructions on configuring the Datadog agent to send data to this source, see How to send data from Datadog agent.