September 25
Agent Control v1.25.1
Bug fixes
- On-host: the OpAMP compression for the verify client is disabled so that the server can read the
execution.modeattribute
Security updates
- Updated rust crate nr-auth to v0.6.0
- Updated rust crate config to 0.15.26
- Updated rust crate thiserror to 2.0.21
For a detailed description of changes, see the release notes.
September 18
Agent Control v1.25.0
New features
- Linux: added Debian 13 (trixie) as a supported/published platform.
- Linux: removed the legacy on-host folder migration pre-v1.2.0 from
newrelic-agent-control-cli - Variants support has been removed in favor of the "governance" flow server side
- Regex-based remote config validation has been removed in favor of the "governance" flow server side.
Bug fixes
- On-host: fixed a spurious
error-level log"cannot forward agent control event"emitted on every clean shutdown; the status server bridge now exits only via an explicit stop signal, closed channels are silently disabled rather than causing an exit, and publisher lifetimes are extended to keep channels open until the stop signal fires. - Linux:
uninstall.shnow usesapt-get purgeinstead ofapt-get remove, preventing a dpkg state inconsistency that caused reinstallation to fail, the service could not start because thesystemd-env.confconffile was not recreated by the package manager. - Windows: the uninstall script now warns instead of silently succeeding when the install or runtime-data directory cannot be removed (e.g. Windows Explorer has it open), and preserves the script itself so it can be re-run once the lock is released.
- On-host: filesystem entries under
filesystem:/shared_filesystem:are now written to disk in alphabetical order and fsynced after each write, making the write order deterministic. - On-host: self-update no longer deletes the downloaded package's binary when replacing the running binary, fixing rollback and same-version reinstall after a self-update.
- On-host: fixed a spurious
Error reading the log directory/files: No such file or directorymessage printed to stderr the first time Agent Control's or a sub-agent's log directory is created. - On-host: executable output and lifecycle logs are no longer misleadingly tagged with the
start_agentspan for the entire lifetime of agent processes and supervisors, they carry the explicit fields instead. - On exit, the process-terminated log line (success or error) is no longer dropped from the log file: it used to be emitted after the file logger had already shut down, so it only ever reached
journalctl/stderr.
Security updates
- Update rustls
- Updated rust crate reqwest to 0.13.5
- Updated rust crate encoding_rs to 0.8.41
- Updated alpine/helm to v4.3.0
- Updated rust crate toml to 1.1.6
- Updated rust crate clap to 4.6.7
- Updated rust crate jsonwebtoken to 11.1.0
- Updated rust crate opamp-client to v0.1.0
- Updated rust crate cfg-if to 1.0.5
- Updated rust crate syn to 3.0.6
- Updated rust crate serde-saphyr to 1.3.0
- Updated rust crate nr-auth to v0.5.3
For a detailed description of changes, see the release notes.
September 8
Agent Control v1.24.0
Novo recurso
- Renomeada a chave de configuração
secrets_providersparavalue_providers, a chave antiga é mantida para compatibilidade com versões anteriores. - OnHost: adicionado suporte para RedHat 10
- K8s: adicionado um novo provedor de valor
nr-kubecmpara resolver variáveis de ConfigMaps do Kubernetes. chart_values.globalainda é suportado em agentTypes, mas foi descontinuado. Você ainda pode configurar globais viachart_values.[chart-name].global- Linux: adicionado o script
uninstall.shincluído no pacote que detecta automaticamente o gerenciador de pacote (apt, yum, zypper) e removenewrelic-agent-control.
Correções de bugs
- On-host: o agente eBPF agora grava seu log de status no diretório do sistema de arquivos gerenciado pelo AC em vez de
/etc/newrelic-ebpf-agent. - On-host: corrige o erro falso de inicialização "already running" quando um arquivo PID obsoleto mantinha um PID reutilizado por um processo não relacionado.
- Suprimir o relatório de
Health(OpAMP e servidor de status) para subagentes cujo tipo de agente não define nenhum blocohealth:, incluindo na falha inicial de inicialização do supervisor. - On-host: quando um tipo de agente é atualizado para uma nova versão, as entradas obsoletas do sistema de arquivos declaradas pela versão antiga agora são removidas por meio de um diff em vez de uma limpeza completa do diretório do agente; o ID da instância do OpAMP do subagente é preservado entre as atualizações de versão.
- K8s: quando um tipo de subagente é atualizado para uma nova versão, o ID da instância do OpAMP agora é preservado durante a atualização; anteriormente, o ConfigMap fleet-data era excluído a cada alteração de tipo, independentemente de o nome do agente ter mudado, fazendo com que um novo ID da instância fosse gerado na próxima inicialização.
- Linux: o script
postremoveagora remove corretamente os diretóriosnewrelic-agent-controlem qualquer desinstalação (não apenas emapt purge) e tem como destino os caminhos corretos (/etc/newrelic-agent-control,/var/lib/newrelic-agent-control,/var/run/newrelic-infra) em vez dos antigos do infra-agent. - On-host: o serviço agora tenta novamente indefinidamente em caso de falha (atraso de 20 s) em vez de parar após 5 reinicializações rápidas; aplica-se tanto à unidade systemd do Linux quanto às ações de falha do SCM do Windows.
Atualizações de segurança
- Atualizado crate rust nr-auth para v0.5.2
- Atualizado o crate rust opamp-client para v0.0.42
- Atualizado crate rust flate2 para 1.1.10
- Atualizado crate rust rcgen para 0.14.10
- Atualizado o crate Rust serde-saphyr para 1.2.0
- Atualizado alpine/kubectl para v1.37.0
- Atualizado crate rust AWS-lc-rs para 1.18.1
- Atualizado crate rust toml para 1.1.5
- Atualizado rust para v1.98.1
- Atualizado o crate rust windows-link para 0.100.0
- Atualizado o crate Rust windows-registry para 0.100.0
- Atualizado crate rust syn para 3.0.5
- Atualizado o crate rust crossbeam para 0.8.5
- Atualizado o crate Rust rstest para 0.27.0
- Atualizado o crate rust encoding_rs para 0.8.40
Para uma descrição detalhada das alterações, consulte as notas de versão.
August 25
Agent Control v1.23.0
New features
- Add support for variables override through
variable.agentConfigsyntax in Remote Configuration keys. - Add support for a single entry of a
string_mapvariable override throughvariable.agentConfig.<variable>:<map-key>syntax in Remote Configuration keys. - On-host infrastructure agent type (linux): expose the
nri-dockerintegration configuration through a newconfig_dockervariable. - Agent type: enforce variable name format to
[A-Za-z0-9_-]starting with a letter and maximum length of 64 characters. - On-Host: enable self-update capability by default. Self updates are only executed when commanded by Fleet Control.
Bug fixes
- K8s supervisor: force a Flux reconciliation on stalled HelmReleases (e.g. after exhausting install/upgrade retries) when a new remote config arrives and restarts the sub-agent supervisor.
- On-host: report the actual last failure (launch error or non-zero exit) in the
lastErrorMessageof the unhealthy status once the restart policy is exceeded, instead of the generic "Restart policy exceeded" message. - On-host: persist fluent-bit's home directory (
fb.db) across infra-agent package updates instead of storing it in the replaced package directory
Security updates
- Updated rust crate either to 1.18.0
- Updated rust to v1.98.0
- Updated rust crate actix-web to 4.15.0
- Updated alpine/kubectl to v1.36.4
- Updated rust crate syn to 3.0.4
For a detailed description of changes, see the release notes.
August 18
Agent Control v1.22.0
Novo recurso
- No host: impor um limite rígido de memória de 2400 MiB na árvore de processos do Agent Control (AC + todos os agentes filhos) via systemd
MemoryMaxno Linux.
Correções de bugs
- Linux: evitar a desativação do serviço systemd após a atualização do pacote RPM
Atualizações de segurança
- Atualizado rust crate futures para 0.3.34
- Atualizado alpine/helm para v4.2.4
- Crate do Rust serde-saphyr atualizado para 1.1.0
Para uma descrição detalhada das alterações, consulte as notas de versão.
August 11
Agent Control v1.21.0
Novo recurso
- Sistema de arquivos do Windows: código não utilizado removido e uso de APIs de nível superior para interação com o Windows.
- Relata a capacidade personalizada OpAMP
com.newrelic.remoteAgentTypeRepoReachablequando o repositório OCI do tipo de agente configurado está acessível na inicialização. - On-host: adicionado agentType nri-flex.
Correções de bugs
- Windows: arquivos corrigidos nos diretórios gerenciados do controle do agente que eram deixados com permissões que ele não podia usar. Os diretórios gerenciados agora usam uma ACE de administrador herdável, e o controle do agente tenta reparar as ACEs na inicialização.
Atualizações de segurança
- Atualizado o crate rust http para 1.5.0
- Crate rust clap atualizado para 4.6.6
- Atualizado o crate Rust serde-saphyr para 1.0.1
- Crate rust base64 atualizado para 0.23.1
- Atualizado o crate rust AWS-lc-rs para 1.18.0
- Atualizado o crate Rust thiserror para 2.0.20
- Atualizado crate rust async-trait para 0.1.92
- Atualizado o crate rust actix-web para 4.14.1
- Atualizado o crate rust rcgen para 0.14.9
Para uma descrição detalhada das alterações, consulte as notas de versão.
July 29
Agent Control v1.20.0
New features
- Kubernetes:
--release-nameis now optional onuninstall-agent-control; omitting it skips deleting the release's own HelmRelease/HelmRepository CRs. - On-host: added nri-apache and nri-nginx agentTypes.
- On-host: added nri-postgresql agentType.
- On-host: added nri-mysql agentType.
- On-host: added nri-memcached Agent Type.
- Log files rotated have now 30 days of retention.
- Added
agent-type validate --file <path>subcommand tonewrelic-agent-control-cliandnewrelic-agent-control-k8s-clifor schema-level validation of agent type definition files. - Extended
agent-type validatewith semantic validation: every${nr-var:X}reference indeploymentmust have a matchingvariablesdeclaration. - Enable cache for remote Agent Type registry
Security updates
- Updated rust crate kube to 4.2.0
- Updated rust crate rustls-pki-types to 1.15.1
- Updated rust crate base64 to 0.23.0
- Updated rust crate either to 1.17.0
- Updated rust crate jsonwebtoken to v11
- Updated rust crate serial_test to v4
- Updated rust crate schemars to 1.2.2
- Updated alpine/kubectl to v1.36.3
- Updated rust crate toml to 1.1.4
For a detailed description of changes, see the release notes.