Releases: aws/amazon-cloudwatch-agent
Releases · aws/amazon-cloudwatch-agent
v1.300028.1
Bug Fixes
- Fix windows event logs to start only once by @okankoAMZ in #851
Full Changelog: v1.300028.0...v1.300028.1
v1.300028.0
Enhancement
- Try using IMDSv2 only first before using client with fallback by @sethAmazon in 3eed429
- Add support for configurable IMDS retries in the
common-config.toml
by @sethAmazon in #818 - Add support for traces in agent configuration wizard by @Paramadon in cb1e819
- Remove misleading metric filter warning by @jefchien in #845
Bug Fixes
- Fix file pattern matching to support glob wildcard characters (
!{}
) by @SaxyPandaBear in #815 - Use LogStreamName instead of ServiceName in token replacement for Prometheus by @sky333999 in #841
- Add fallback shared config files for credential ordering to maintain previous AWS SDK behavior by @jefchien in #834
- Drop unsupported NaN, Inf, and out of range values by @jefchien in #847
Full Changelog: v1.300026.3...v1.300028.0
v1.300026.3
What's Changed
- Retain logic to determine log stream for EMF pipeline by @sky333999 in 4f7705a
🐞 This change fixes a bug in between v1.300025.0 and v1.300026.2 specifically for usages of the EMF plugin in specific environments wherein the default log stream name was incorrectly set asi-UNKNOWN
. This bug did NOT impact usages that explicitly specified a log stream name in their config or were running in an EC2 environment with IMDS enabled. Example environments that could have seen impact are ECS clusters that rely on ECS Metadata Service and EKS clusters that provide host name as env variables. - Fix rename in metrics decorator translator by @jefchien in ad5861a
🐞 This change fixes a bug in between v1.300025.0 and v1.300026.2 that in very specific edge cases, the usage of the metric rename feature in Windows environments would break when the prefix of the metric name is the same as the plugin name. For example,System System Up Time
. - Update config translation to respect common config profile and creds file by @sky333999 in e2ef915
🐞 This change fixes a bug in between v1.300025.0 and v1.300026.2 that in specific edge cases such as refreshable shared credentials file, could result in the wrong credentials chain order being used, thus potentially leading toExpired Token
orUnauthorized
errors. - Remove plugin key allowlist for metric decorator by @jefchien in 47a5e47
🐞 This change fixes a bug in between v1.300025.0 and v1.300026.2 that impacted specific cases for Windows usages containing Performance Counters that were not allow listed. This change removes the allow list to match the behavior from earlier.
Full Changelog: v1.300026.2...v1.300026.3
v1.300026.2
What's Changed
- Add expandconverter to config provider by @jefchien in 24592ba
🐞 This change fixes a bug in between v1.300025.0 and v1.300026.1 that could have prevented the expansion of env variables in the CloudWatch Agent json config. - Pin aws sdk to v1.44.106 since the defaults for root creds changed in future versions by @sky333999 in 048809e
🐞 This change fixes a bug in between v1.300025.0 and v1.300026.1 that could have resulted in shared credentials file present in $HOME take precedence over other configured cred mechanisms such as instance role. In such scenarios, if the creds in the shared credentials file are not refreshed, the agent would throw an error complaining about anExpired Token
. - Update OTel fork components to 2460792 by @sky333999 in 9a259d5
🐞 This change fixes a bug in between v1.300025.0 and v1.300026.1 specifically for usages of the EMF plugin in highly concurrent environments that could have resulted in corruption of log events. This was as a result of a bug with the OTel tcplogreceiver and was addressed as part of amazon-contributing/opentelemetry-collector-contrib#72.
🐞 This change also fixes a bug in between v1.300025.0 and v1.300026.1 specifically for usages of the EMF plugin wherein invalid log events that previously would be dropped by the agent would now instead be routed to a default log groupemf/logs/default
in CloudWatch. This was addressed as part of amazon-contributing/opentelemetry-collector-contrib#68 to match the previous behavior i.e. drop invalid EMF logs. - Add Endpoint Override To EMF And Only Publish EMF Logs by @sethAmazon in db03fb6
🐞 This change fixes a bug in between v1.300025.0 and v1.300026.1 specifically for usages of the EMF plugin in combination with ca bundle. - Revert "Add Retry To IMDS Client" by @jefchien in a367c86
🐞 This change fixes a bug in between v1.300025.0 and v1.300026.1 specifically when running the CloudWatch Agent in specific containerized environments such as ECS resulting in timeout errors when communicating with IMDS. - Removed warn log message for empty fields in telegraph metrics by @nathalapooja in fd1b308
Full Changelog: v1.300026.1...v1.300026.2
v1.300026.1
What's Changed
- Macos script fix by @zhihonl in 6792c77
🐞 This change fixes a bug in v1.300025.0 and v1.300026.0 that could have prevented the agent from restarting, specifically for macOS. An accidental change for theshfmt
formatter made it such that the agent status would be falsely reported asstopped
, thus preventing a restart.
Full Changelog: v1.300026.0...v1.300026.1
v1.300026.0
What's Changed
- Remove windows event log plugin from adapter translation by @jefchien in 4c7abf4
🐞 This change fixes a bug in v1.300025.0 that could have resulted in publishing duplicate log events for the windows event log plugin specifically. - Remove telegraf agent start up by @jefchien in 3f60a57
This is an optimization to not start the telegraf agent when the config only requires handling of logs plugin (i.e. no metrics or traces).
Full Changelog: v1.300025.0...v1.300026.0
v1.300025.0
🚀 This release adds support for OpenTelemetry traces and AWS X-Ray via the Amazon CloudWatch Agent. Please see https://aws.amazon.com/about-aws/whats-new/2023/08/amazon-cloudwatch-agent-opentelemetry-traces-x-ray/ for additional details.
What's Changed
- Adding blurb about usage data and opt-out by @bryce-carey in #776
- Apply cd into terraform_dir logic consistently by @sky333999 in #778
- Increase terraform aws assume role duration to avoid expired token errors by @sky333999 in #779
- Add excluded_tests flag to Linux test workflow by @zhihonl in #777
- Echo Stress Test Info by @sethAmazon in #781
- update schema and validation to support 3 year retention by @markdboyd in #788
- Workflow refactor and add onprem test jobs by @ChenaLee in #782
- Add family flag to performance test by @zhihonl in #789
- Windows stress test setup by @zhihonl in #797
- Replace Telegraf agent with OpenTelemetry Collector by @sky333999 in #796
New Contributors
- @markdboyd made their first contribution in #788
Full Changelog: v1.247360.0...v1.300025.0
v1.247360.0
What's Changed
- Support for voluntary collection of product experience metrics by @bryce-carey in #766 / #771
New Contributors
- @zhihonl made their first contribution in #742
- @JayPolanco made their first contribution in #754
- @bryce-carey made their first contribution in #766
Full Changelog: v1.247359.1...v1.247360.0
v1.247359.1
Re-release of v1.247359.0 with fixed artifacts.
v1.247359.0
What's Changed
- Add branch feature for ec2 test by @ChenaLee in #647
- Update RELEASE_NOTES for 1.247356 by @adam-mateen in #649
- Update RELEASE_NOTES for 1.247357 by @adam-mateen in #660
- Add log output when log files are deleted with auto_removal feature #636 by @tomatod in #659
- Reduce Name Of EC2LinuxIntegrationTest To Show More Test Info In GHA by @sethAmazon in #666
- nick-invision/retry@v2 Became nick-fields/retry@v2 Fix ECSEC2LaunchDa… by @sethAmazon in #669
- update RELEASE_NOTES for 1.247358 by @chadpatel in #676
- Update the branch for ecs fargate and ecs ec2 by @khanhntd in #680
- ignore unrelated files for CI by @SaxyPandaBear in #681
- [GH-606][FEATURE] Add config mode for ModeWithIRSA to support using d… by @stewartmoreland in #682
- add ability to test subset of plugins for integration tests by @SaxyPandaBear in #671
- Upgrade golang.org/x/net To v0.7.0 by @sethAmazon in #691
- Add -trimpath to go build command. by @adam-mateen in #697
- Add stress testing for the workflow by @khanhntd in #688
- Clean Old File System by @sethAmazon in #690
- Clean host by @sethAmazon in #700
- Build Make Binary On Mac OS by @sethAmazon in #702
- Add dependend bot for mod and go dependencies by @khanhntd in #341
- CGO Enable 1 For Darwin arm64 by @sethAmazon in #714
- Upgrade dtls v2 by @sethAmazon in #704
- Only Enable CGO For Mac Build On Mac by @sethAmazon in #715
- Replace deprecated ioutil calls with os equivalent by @noelukwa in #663
- Deleting EFS related resource by @williazz in #720
- Add config option to disable extraction of metrics from EMF logs for … by @sky333999 in #723
- update SEH test to round by @SaxyPandaBear in #733
- chore(ci): Upgrade workflows to non-deprecated runtimes by @dev-slatto in #719
- Add EC2 Integration Test on both Darwin and Windows by @khanhntd in #716
New Contributors
- @tomatod made their first contribution in #659
- @chadpatel made their first contribution in #676
- @stewartmoreland made their first contribution in #682
- @noelukwa made their first contribution in #663
- @williazz made their first contribution in #720
- @dev-slatto made their first contribution in #719
Full Changelog: v1.247357.0...v1.247359.0