This exporter converts OpenTelemetry metrics to AWS CloudWatch Embedded Metric Format(EMF) and then sends them directly to CloudWatch Logs using the PutLogEvents API.
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.
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 |
This exporter follows default credential resolution for the aws-sdk-go.
Follow the guidelines for the credential configuration.