Skip to content

Capability to report logs and metrics for an AWS fargate service to Datadog

Notifications You must be signed in to change notification settings

nullstone-modules/aws-ecs-datadog

Repository files navigation

Datadog Logs/Metrics for ECS/Fargate

This capability sends application logs and metrics to Datadog for ECS (Fargate-based or EC2-based).

Logs

Application logs are configured to send to Datadog in near real-time. (<1 min latency) These logs are tagged with stack, block, and env.

The application logs are immediately sent to Cloudwatch and transmitted to Datadog via Kinesis Firehose.

Metrics

The Datadog agent is added to your application as a sidecar container. This agent collects metrics from AWS and custom metrics from your application and sends them to Datadog in near real-time.

OpenTelemetry

The Datadog agent is configured as an OpenTelemetry agent with a gRPC listener on port 4317 and HTTP listener on port 4318. This module automatically injects OTEL_EXPORTER_OTLP_ENDPOINT environment variable into the app. This endpoint refers to the HTTP listener.