Infrastructure agent release notes

Infrastructure agent release notes

Tuesday, October 6, 2020 - 19:00

Notes

A new version of the agent has been released. Follow standard procedures to update your infrastructure agent.

Added

  • #131 Dimensional metrics will be sent using collector_url configuration for fedRAMP compliance.

Fixed

  • #137 A bug in how collector_url is calculated to be FedRAMP compliance.

For more information FedRAMP compliance, see our docs.

Monday, September 21, 2020 - 17:00

Notes

A new version of the agent has been released. Follow standard procedures to update your infrastructure agent.

Added

  • #53 Dimensional metrics are now processed by the agent, registering entities for them. This feature is disabled under a feature-flag.
  • #90 The log forwarder now captures the name of the file being tailed as Path_Key.
  • #96 The agent now supports accessing secrets from CyberArk either using an HTTP endpoint or the CLI tool.

For more information on secrets management using CyberArk, see our docs.

Fixed

  • #101 Fixed issue where the agent would panic when trying to compact inventory data.

Changed

Thursday, September 3, 2020 - 12:00

Notes

A new version of the agent has been released. Follow standard procedures to update your infrastructure agent.

Added

  • #77, #84 The Log Forwarder now supports Winlog events and allows EventID filtering

For more information on the Log Forwarder, see Forward your logs using New Relic Infrastructure (Winlog).

Fixed

  • #75 Fixed a bug that produced this error message can't save submission time when incorrectly trying to save submission time for the host entity that was not required.

Changed

Monday, August 24, 2020 - 12:00

Notes

A new version of the agent has been released. Follow standard procedures to update your Infrastructure agent.

Added

  • a7b17c6 Inventory data collection could now work in a non-blocking manner: We now allocate a configurable inventory queue in the same fashion as metrics/events. This feature is disabled under a feature-flag.

Fixed

  • 71cc96b Fixed issue in the storage sampler where we reported only one mount point for each device.

Changed

Wednesday, August 12, 2020 - 12:00

Notes

A new version of the agent has been released. Follow standard procedures to update your Infrastructure agent.

Fixed

  • PR-50 Fixed inventory deltas submission for remote (non host) entities. This fixes inventory errors showing up on the log for DEBUG level with message error field deltas not in expected order: have delta ID XXX, want YYY.

Context

Inventory deltas are JSON diffs and they need to be applied in order aiming to provide a consistent state. Both the infrastructure agent and the Telemetry Data Platform stored their latest delta ID received/submitted.

This delta ID is incremented in each plugin entity inventory submission to the Telemetry Data Platform. When these IDs go out of sync between agent and platform, the latter provides its latest known ID for the given inventory plugin and entity. Then a reconciliation process is run by the agent for that plugin so that the next ID will match the one expected by the Telemetry Data Platform.

Root cause

For remote, non-host entities the agent side didn't store delta IDs on a per-entity basis as the Telemetry Data Platform did. This means that for a given inventory plugin or integration providing more than 1 entity there'd be delta ID order issues, which were only seen on agent's DEBUG level (verbose mode > 0). At some point all data would usually be submitted as reconciliation process attempts to fix this. But for high load integrations producing multiple remote entities this reconciliation process would be triggered every time an entity needs to be submitted as for each of them platform keeps a record, while the agent recorded ID on a per-plugin basis. Therefore, for high-load integrations, the agent reconciliation process might enter in race-condition loop when trying to fix the delta IDs.

Fix

This release fixes this behaviour by keeping track of delta IDs in the same way our Telemetry Data Platform does (or a per-plugin, per-entity basis).

As state might be stored on disk for inventory deltas, if any integration had it persisted before the fix it'll take a reconciliation run per entity to fix agent's locally stored IDs. In this case you might still see some log entries, but they'll be gone during their first submissions.

Monday, July 27, 2020 - 12:00

Notes

A new version of the agent has been released. Follow standard procedures to update your Infrastructure agent.

Added

Fixed

  • d35cbe7 Fixed the sending of heartbeat samples to New Relic.
  • 6503df0 Inventory is now fully re-sent if the host has been offline for 24 hours or if the agent ID changes.
  • 4ccd9ff Fixed issue where running Docker auto discovery was leaking file descriptors.
Monday, July 20, 2020 - 12:00

Notes

A new version of the agent has been released. Follow standard procedures to update your Infrastructure agent.

Processes metrics can be enabled for new accounts

By default, the Infrastructure agent doesn't send data about the operating system's processes. The agent still collects such data, unless metrics_process_sample_rate is set to -1.

The sending of processes data to New Relic can be manually enabled by setting enable_process_metrics to true. To fine-tune which processes you want to monitor, configure include_matching_metrics.

Accounts and subaccounts created before July 20, 2020 have enable_process_metrics set to true by default; this can be overridden by setting a different value in the config file.

Added

  • f670501 Added ReadWriteBytesPerSecond to storage sampler.

Fixed

  • 1c06e93 Improved the handling of child process on Windows.
  • 3394abd Fixed a bug where Logs in Context wouldn't map to an application when using the Infrastructure forwarder
  • Updated KMS Secrets management to work correctly with credential_file and config_file.
  • Removed some potential race conditions in the agent which should improve the stability of the agent.
  • Fixed issue where storage sample would sometimes not report storage devices correctly.

Changed

Tuesday, June 2, 2020 - 12:30

Notes

A new version of the agent has been released. Follow standard procedures to update your Infrastructure agent.

Added

For more information on the log forwarder feature, see Forward your logs using New Relic Infrastructure.

Changed

Monday, May 25, 2020 - 12:30

Notes

A new version of the agent has been released. Follow standard procedures to update your Infrastructure agent.

Added

  • The agent now adds Alibaba Cloud metadata, when available, to all data collected.
  • When the agent runs in verbose mode, all integrations that support it now also run in verbose mode.
  • When querying EC2 Instance Metadata Service the agent now uses Instance Metadata Service v2 (IMDSv2) for all requests. For more information on why you should use IMDSv2, see this AWS blog post .
Thursday, May 21, 2020 - 10:30

Notes

A new version of the agent has been released. Follow standard procedures to update your Infrastructure agent.

Added

  • The agent now logs error and fatal messages from integrations even when not running in verbose mode. This feature is only available to integrations configured using the V4 configuration format found in versions 1.8.0 or higher of the agent.

Fixed

  • Fixed an issue where spaces in integration commands would sometimes get split incorrectly, causing the commands to fail.

Changed

Pages