Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 2.76 KB

File metadata and controls

39 lines (30 loc) · 2.76 KB

AWS CloudWatch EMF Exporter for OpenTelemetry Collector

This exporter converts OpenTelemetry metrics to AWS CloudWatch Embedded Metric Format(EMF) and then sends them directly to CloudWatch Logs using the PutLogEvents API.

Data Conversion

Convert OpenTelemetry Int64DataPoints, DoubleDataPoints, SummaryDataPoints metrics datapoints into CloudWatch EMF structured log formats and send it to CloudWatch. Logs and Metrics will be displayed in CloudWatch console.

Exporter Configuration

The following exporter configuration parameters are supported. They mirror and have the same affect as the comparable AWS X-Ray Daemon configuration values.

Name Description Default
log_group_name Customized log group name
log_stream_name Customized log stream name
rollup_option Metrics dimension roll up options. Eg, 0-All, 1=Single, 2=NoRollup 0
namespace Customized CloudWatch metrics namespace
endpoint Optionally override the default CloudWatch service endpoint.
no_verify_ssl Enable or disable TLS certificate verification. false
proxy_address Upload Structured Logs to AWS CloudWatch through a proxy.
region Send Structured Logs to AWS CloudWatch in a specific region.
local_mode Local mode to skip EC2 instance metadata check. false
resource_arn Amazon Resource Name (ARN) of the AWS resource running the collector.
role_arn IAM role to upload segments to a different account.
max_retries Maximum number of retries before abandoning an attempt to post data. 5
force_flush_interval Specifies in seconds the maximum amount of time that metrics remain in the memory buffer before being sent to the server. 60

AWS Credential Configuration

This exporter follows default credential resolution for the aws-sdk-go.

Follow the guidelines for the credential configuration.