Skip to content

Latest commit

 

History

History
461 lines (319 loc) · 16.3 KB

CHANGELOG.md

File metadata and controls

461 lines (319 loc) · 16.3 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased section should follow Release Toolkit.

Unreleased

v2.1.0 - 2024-10-08

dependency

  • Upgrade go to 1.23.2

🚀 Enhancements

  • Upgrade integrations SDK so the interval is variable and allows intervals up to 5 minutes

v2.0.9 - 2024-09-10

⛓️ Dependencies

  • Updated golang version to v1.23.1

v2.0.8 - 2024-09-03

🐞 Bug fixes

  • Fetch the SoftLimitBytes metric from docker inspect for cgroups-v2.
  • Fetch the CPUShares metric from docker inspect for cgroups-v2.
  • Swap related metrics when called from cGroups were incorrect due to an overflow whenever the FuzzMemory metric was not calculated properly.

v2.0.7 - 2024-08-06

⛓️ Dependencies

  • Updated github.com/docker/docker to v26.1.5+incompatible

v2.0.6 - 2024-07-31

🐞 Bug fixes

  • Updated github.com/docker/docker to v24.1.4+incompatible
  • Updated golang.org/x/net to 0.23.0

v2.0.5 - 2024-07-30

⛓️ Dependencies

  • Updated github.com/docker/docker to v25.0.6+incompatible

v2.0.4 - 2024-07-09

⛓️ Dependencies

  • Updated golang version to v1.22.5

v2.0.3 - 2024-05-14

⛓️ Dependencies

  • Updated golang version to v1.22.3

v2.0.2 - 2024-04-16

⛓️ Dependencies

  • Updated golang version to v1.22.2

v2.0.1 - 2024-03-26

⛓️ Dependencies

  • Updated github.com/docker/docker to v25.0.5+incompatible

v2.0.0 - 2024-03-12

⚠️️ Breaking changes ⚠️

  • Memory swap metrics memorySwapUsageBytes, memorySwapOnlyUsageBytes and memorySwapLimitUsagePercent will not be sent if not present. This will mainly affect when the integration is running in Fargate where these metrics were being reported with incorrect values (#224)
  • Blkio metrics TotalReadCount, TotalWriteCount, TotalReadBytes and TotalWriteBytes will not be sent if not present. Before they were being reported with value 0 (#221)

🛡️ Security notices

  • Updated logrus dependency to remediate vulnerability

🚀 Enhancements

  • Add metrics collection from DockerAPI to support nodes with cgroup V2 on ECS clusters.

⛓️ Dependencies

v1.10.1 - 2024-03-05

⛓️ Dependencies

v1.10.0 - 2024-02-20

🚀 Enhancements

  • Allow the path (TMP_DIR) to store container_cpus.json (cache file) to be modified by the agent

🐞 Bug fixes

  • Metrics fetch is no longer executed for exited containers that was causing an error log line (failed to open file: /proc/0/cgroup) for each exited container. Exited containers samples are still being reported as they were, as far as the TTL (24hs by default) has not expired.

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.50.21 - Changelog 🔗
  • Updated github.com/newrelic/infra-integrations-sdk to v3.8.2+incompatible

v1.9.8 - 2024-02-06

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.50.11 - Changelog 🔗
  • Updated github.com/docker/docker to v24.0.9+incompatible
  • Updated golang version to v1.21.6

v1.9.7 - 2024-01-30

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.50.6 - Changelog 🔗
  • Updated github.com/docker/docker to v24.0.8+incompatible

v1.9.6 - 2024-01-23

⛓️ Dependencies

v1.9.5 - 2024-01-16

⛓️ Dependencies

v1.9.4 - 2024-01-09

⛓️ Dependencies

v1.9.3 - 2024-01-02

⛓️ Dependencies

v1.9.2 - 2023-12-26

⛓️ Dependencies

v1.9.1 - 2023-12-19

⛓️ Dependencies

v1.9.0 - 2023-11-21

🚀 Enhancements

  • Make metric cache used to calculate deltas configurable

⛓️ Dependencies

v1.8.29 - 2023-11-14

⛓️ Dependencies

v1.8.28 - 2023-11-07

⛓️ Dependencies

v1.8.27 - 2023-11-02

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.47.1 - Changelog 🔗
  • Updated golang version to 1.21

v1.8.26 - 2023-10-31

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.46.7 - Changelog 🔗
  • Updated github.com/docker/docker to v24.0.7+incompatible

v1.8.25 - 2023-10-24

⛓️ Dependencies

v1.8.24 - 2023-10-17

⛓️ Dependencies

v1.8.23 - 2023-10-10

⛓️ Dependencies

v1.8.22 - 2023-10-03

⛓️ Dependencies

v1.8.21 - 2023-09-26

⛓️ Dependencies

v1.8.20 - 2023-09-19

⛓️ Dependencies

v1.8.19 - 2023-09-12

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.45.7 - Changelog 🔗
  • Updated github.com/docker/docker to v24.0.6+incompatible

v1.8.18 - 2023-09-05

⛓️ Dependencies

v1.8.17 - 2023-08-29

⛓️ Dependencies

v1.8.16 - 2023-08-22

⛓️ Dependencies

v1.8.15 - 2023-08-15

⛓️ Dependencies

v1.8.14 - 2023-08-08

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.44.318 - Changelog 🔗
  • Updated golang to v1.20.7

v1.8.13 - 2023-08-01

⛓️ Dependencies

v1.8.12 - 2023-07-25

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.44.307 - Changelog 🔗
  • Updated github.com/docker/docker to v24.0.5+incompatible

v1.8.11 - 2023-07-18

⛓️ Dependencies

v1.8.10 - 2023-07-13

🐞 Bug fixes

  • Use positive rate metric type for all rate kind metrics (perSecond). This will prevent to report negative values on this metrics caused by restarts.

v1.8.9 - 2023-07-11

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.44.299 - Changelog 🔗
  • Updated github.com/docker/docker to v24.0.4+incompatible

v1.8.8 - 2023-06-27

⛓️ Dependencies

v1.8.7 - 2023-06-26

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.44.289 - Changelog 🔗
  • Updated go to 1.20

v1.8.6 - 2023-06-01

🐞 Bug fixes

  • github.com/docker/distribution has been updated from v2.8.1+incompatible to v2.8.2+incompatible to fix a vulnerability

v1.8.5 - 2023-05-30

⛓️ Dependencies

  • Updated github.com/aws/aws-sdk-go to v1.44.269 - Changelog 🔗
  • Updated github.com/aws/aws-sdk-go to v1.44.270 - Changelog 🔗
  • Updated github.com/docker/docker to v24.0.2+incompatible
  • Updated github.com/aws/aws-sdk-go to v1.44.271 - Changelog 🔗

v1.8.4 - 2023-05-24

⛓️ Dependencies

v1.8.3 - 2023-05-23

⛓️ Dependencies

  • Updated github.com/docker/docker to v23.0.6+incompatible
  • Updated github.com/docker/docker to v24
  • Updated golang to v1.20
  • Updated github.com/aws/aws-sdk-go to v1.44.265 - Changelog 🔗
  • Updated github.com/stretchr/testify to v1.8.3 - Changelog 🔗
  • Updated github.com/aws/aws-sdk-go to v1.44.266 - Changelog 🔗
  • Updated github.com/docker/docker to v24.0.1+incompatible
  • Updated github.com/aws/aws-sdk-go to v1.44.267 - Changelog 🔗

v1.8.2 - 2023-05-18

⛓️ Dependencies

  • Updated github.com/docker/docker to v23.0.3+incompatible
  • Updated github.com/aws/aws-sdk-go to v1.44.264 - Changelog 🔗

1.8.1 (2023-04-17)

Changed

  • Skip reporting container attributes with empty values (#152)

1.8.0 (2023-03-08)

Changed

  • Bump dependencies

1.7.5 (2022-11-30)

Changed

  • bump go version and dependencies (#143)

1.7.4 (2022-09-21)

Changed

  • bump dependencies:

1.7.3 (2022-08-16)

Changed

  • bump dependencies (#139):

1.7.2 (2022-07-06)

Changed

  • Log a Warning in case there is a nil from Fargate by @kang-makes in #135

1.7.1 (2022-06-08)

Changed

  • bump dependencies (#133):

1.7.0 (2022-05-18)

Breaking

  • Stop honoring cgroupPath and cgroupDriver arguments.

Added

  • Adding support for cgroups v2.
  • Bump go version and use go modules.
  • Bump infra-integration-sdk version.

1.6.0 (2021-04-21)

Breaking

  • All swap memory has been removed from memoryUsageBytes and memoryUsageLimitPercent. memoryUsageBytes shows non swap memory only and memoryUsageLimitPercent is calculated as a percentage of memoryUsageBytes over memorySizeLimitBytes

Added

  • Adds cpuShares metrics
  • Adds memory swap metrics: memoryKernelUsageBytes memorySwapUsageBytes memorySwapOnlyUsageBytes memorySwapLimitBytes memorySwapLimitUsagePercent memorySoftLimitBytes
  • Adds storage driver metrics: storageDataUsedBytes storageDataAvailableBytes storageDataTotalBytes storageDataUsagePercent storageMetadataUsedBytes storageMetadataAvailableBytes storageMetadataTotalBytes storageMetadataUsagePercent

1.5.0 (2021-04-15)

Added

  • Adding support for Task metadata endpoint v4 to include networking metrics for fargate

1.4.3 (2021-03-22)

Fixed

  • Bundles the correct config file into the tarball docker-config.yml (ready for infra agent bundle)

1.4.2 (2021-03-19)

Changed

  • Includes arm binaries using GHA pipeline.

Fixed

  • Fixed a bug where an error type assertion would not work correctly and "exited" containers could still be reported by nri-docker even after their TTL has passed.

1.4.1 (2020-11-26)

Fixed

  • Fixed a bug where an error type assertion would not work correctly and "exited" containers could still be reported by nri-docker even after their TTL has passed.

1.4.0 (2020-11-19)

Changed

  • nri-docker will no longer report containers that have been stopped for more than 24 hours. This value can be configured using the EXITED_CONTAINERS_TTL environment variable using any value that can be parsed into a time.Duration, i.e. 1s, 1m, 1h. To replicate the old behavior of the integration, set this environment variable to 0 (zero).

1.3.3 (2020-11-12)

Changed

  • Add metadata to samples from Fargate (#50)

1.3.2 (2020-07-17)

Changed

  • Set the correct integration Version

1.3.1 (2020-07-17)

Changed

  • Fixed bug in detection of non-running container in ECS environments.

1.3.0 (2020-05-11)

Added

  • Added support for cgroup driver 'systemd'.

1.2.1 (2020-04-15)

Added

  • Add enable condition in config for when the FARGATE env var is "true".

1.2.0 (2020-04-01)

Added

  • BETA support for Fargate container metrics. For more information or access request please contact mfuentes@newrelic.com.
  • Metric memoryUsageLimitPercent that reports the usage of the container memory as a percentage of the limit. If there is no limit defined, this metric is not reported.
  • Renamed metrics: processCount to threadCount; processCountLimit to threadCountLimit

Changed

  • Metric memorySizeLimitBytes is not reported anymore when there is no such limit (before it was reported as 0)

1.1.1 (2020-02-07)

Changed

  • This version fixes missing Docker container metrics improving Linux cgroup path detection. This issue was caused by cgroup not being mounted in the standard path /sys/fs/cgroup. This version can now discover cgroup different from the standard path.
  • The auto-detected Cgroup path can be overwritten by the new config parameter 'cgroup_path'.
  • Note: cgroup PIDs (process and thread count) are not available on Kernel versions lower than 4.3 see support. Therefore column threadCount won't be available for these systems.--

1.0.1 (2020-01-13)

Changed

Updated execution conditions for integrations v4.

1.0.0 (2019-12-09)

Changed

Updated agent dependency to newrelic-infra >= 1.8.0 Updated config files to agent integrations format v4. Fixed target OS to Linux.

Containerised agent

Replaced entrypoint from /usr/bin/newrelic-infra to /usr/bin/newrelic-infra-service

0.6.0 (2019-11-20)

Changed

  • Renamed the integration executable from nr-docker to nri-docker in order to be consistent with the package naming. Important Note: if you have any security module rules (eg. SELinux), alerts or automation that depends on the name of this binary, these will have to be updated.

0.5.1 - 2019-09-25

  • Added support for custom Cgroup parent paths

0.5.0 - 2019-09-23

  • Removing hostname: localhost metric field, since the Agent now won't need it to decorate it with the proper hostname.
  • Fixed a probrem in the cgroups library that prevented most metrics to be fetched in containers without Swap accounting in cgroups.

0.1.0 - 2019-09-20

Added

  • Initial version