Upgrade the .NET Agent for Linux
This page describes how to upgrade the .NET Agent for Linux on VMs such as Docker and on hardware running Linux.
Upgrading the .NET Agent for Linux updates the agent files and maintains legacy configurations.
.NET Agent for Linux 21.5
.NET Agent for Linux 21.5 incorporates significant architectural changes to accelerate the development of missing features in the Linux Agent relative to .NET Agent for Windows.
Generally, .NET Agent for Linux 21.5 maintains parity with existing features in .NET Agent for Linux < 21.5. However, due to architectural updates, there are differences between .NET Agent for Linux >= 21.5 and .NET Agent for Linux < 21.5. See the .NET Agent 21.5 release notes for a detailed explanation.
Before you upgrade to .NET Agent for Linux 21.5, please review the differences in this table:
| Difference | .NET Agent for Linux >= 21.5 | .NET Agent for Linux < 21.5 |
|---|---|---|
| Pre-built Docker Image |
The .NET Agent Docker image does not have an OS Layer after version 21.5. This allows copying agent binaries from shared volume for initContainer, Kubernetes. initContainer for Kubernetes does not need a base OS. |
The .NET Agent Docker image does have an OS Layer before version 21.5. |
| HTTP URL backend for: Default naming |
.NET Agent uses the full URL including http://host:port in the naming. Full URL address is used. For example, two calls to these addresses:
Results with these two backend names:
|
.NET Agent uses the URI path of the URL for the naming. It excludes http://host:port, but assumes the "/" prefix as the name. Uses the URI path prefixed with a "/". For example, two calls to these addresses:
Results with these two backend names:
|
|
HTTP URL backend for: Custom naming |
.NET Agent uses the full URL including http://host:port in the naming. The URL address split by "/" counts http://host:port as the first three segments:
For example, two calls to these addresses with first five URL segments using "/" as the split and merge delimiter:
Results with one backend name:
|
.NET Agent uses the URI path of the URL for the naming. It excludes http://host:port, but assumes the "/" prefix as the name. The URL address split by "/" counts segments starting from the prefixed "/" in the URI path. For example, two calls to these addresses with first three URL segments using "/" as the split and merge delimiter:
Results with one backend name:
|
| Sensitive data filtering for environment variables |
To filter sensitive data for environment variables:
|
Available using the APPDYNAMICS_AGENT_MASK_ENV_VARS environment variable with the Linux Agent. |
| Process identity | Not available | Available |
| In-process async call chain segments limit | 5 per node (default) | 10 per node (default) |
|
POCO definitions for the generic format changes any existing generic method POCO definitions and must be re-defined using the new format.
Note: Similar to POCO definitions, the new format applies to any similar definitions for Custom Exits, Custom Data collectors, and so on because their support is enabled in the .NET Agent for Linux.
|
This shows the common format used to define generic POCO rules for all .NET Agents: Formatclass: GenericClass`2 method: GenericMethod<T1,T2>(T1,T2,T1,T2) |
This shows the common format used to define generic POCO rules for all .NET Agents: Formatclass: GenericClass`2 method: GenericMethod(!T1,!T2,!!M1,!!M2) |
| Alpine 3.9 and 3.10 | Not supported | Supported |
Analytics Agent connection configuration through the AppDynamicsConfig.json configuration file or through the APPDYNAMICS_ANALYTICS_* environment variables. |
Not supportedUse the single environment variable appdynamics.analytics.agent.url to specify the full Analytics Agent URL, such as http://localhost:9090/v2/sinks/bt . |
Supported |
| Analytics Agent SSL trust configuration in JSON or agent specific environment variables. |
Not supported The SSL connection works if the certificate used by the Analytics Server is trusted by the operating system. As a workaround, you can configure the certificate using the SSL_CERT_FILE/SSL_CERT_DIR
Note: This is a global setting that overrides your SSL configuration for all connections.
|
Supported with these environment variables:
|
Usage of multiple Base-64 encoded certificates (PEM) in a single file with APPDYNAMICS_CONTROLLER_SSL_CERTFILE . |
Supported with these noted limitations:
|
Supported |