Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sdk/service/cloudwatchlogs] Use custom CloudWatch Logs SDK for awsemfexporter/awscloudwatchlogs #269

Open
wants to merge 6 commits into
base: aws-cwa-dev
Choose a base branch
from

Conversation

zhihonl
Copy link

@zhihonl zhihonl commented Jan 6, 2025

Description:

Link to tracking Issue:

Testing:

Manual Test

awscloudwatchexporter with raw EMF logs

Use command

CURRENT_TIME=$(date +%s%N | cut -b1-13)
echo '{"_aws":{"Timestamp":'"${CURRENT_TIME}"',"LogGroupName":"EMFOtelBump","CloudWatchMetrics":[{"Namespace":"EMFOtelBump","Dimensions":[["Type","InstanceId"]],"Metrics":[{"Name":"EMFCounter","Unit":"Count"}]}]},"Type":"Counter","EMFCounter":5}' \ > /dev/udp/0.0.0.0/25888

Observed EMF logs in CloudWatch Logs
Screenshot 2025-01-07 at 11 30 37 AM

Observed metrics from EMF log
Screenshot 2025-01-07 at 11 31 41 AM

awsemfexporter with container insights

Observed EMF logs in container insights log group
Screenshot 2025-01-07 at 1 03 00 PM

Observed metrics in CloudWatch
Screenshot 2025-01-07 at 1 05 28 PM

Documentation:

@zhihonl zhihonl requested a review from mxiamxia as a code owner January 6, 2025 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant