Skip to content

Releases: aws/amazon-cloudwatch-agent

v1.300028.1

15 Sep 21:31
6b25891
Compare
Choose a tag to compare

Bug Fixes

Full Changelog: v1.300028.0...v1.300028.1

v1.300028.0

11 Sep 16:32
47e08aa
Compare
Choose a tag to compare

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

22 Aug 05:56
v1.300026.3
Compare
Choose a tag to compare

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 as i-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 to Expired Token or Unauthorized 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

22 Aug 05:36
v1.300026.2
Compare
Choose a tag to compare

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 an Expired 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 group emf/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

22 Aug 05:03
Compare
Choose a tag to compare

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 the shfmt formatter made it such that the agent status would be falsely reported as stopped, thus preventing a restart.

Full Changelog: v1.300026.0...v1.300026.1

v1.300026.0

22 Aug 04:58
Compare
Choose a tag to compare

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

22 Aug 04:43
6c2d68d
Compare
Choose a tag to compare

🚀 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

New Contributors

Full Changelog: v1.247360.0...v1.300025.0

v1.247360.0

23 Jun 21:08
0358b60
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.247359.1...v1.247360.0

v1.247359.1

16 May 19:45
v1.247359.1
2dd89ab
Compare
Choose a tag to compare

Re-release of v1.247359.0 with fixed artifacts.

v1.247359.0

20 Apr 14:01
2dd89ab
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.247357.0...v1.247359.0