AppDynamics.Agent 2022.1.0-beta1

This is a prerelease version of AppDynamics.Agent.
There is a newer version of this package available.
See the version list below for details.
dotnet add package AppDynamics.Agent --version 2022.1.0-beta1                
NuGet\Install-Package AppDynamics.Agent -Version 2022.1.0-beta1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AppDynamics.Agent" Version="2022.1.0-beta1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AppDynamics.Agent --version 2022.1.0-beta1                
#r "nuget: AppDynamics.Agent, 2022.1.0-beta1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AppDynamics.Agent as a Cake Addin
#addin nuget:?package=AppDynamics.Agent&version=2022.1.0-beta1&prerelease

// Install AppDynamics.Agent as a Cake Tool
#tool nuget:?package=AppDynamics.Agent&version=2022.1.0-beta1&prerelease                

Real user monitoring for your Xamarin app.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid81 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on AppDynamics.Agent:

Package Downloads
AppDynamics.Agent.Maui

Real user monitoring for your Maui app.

AppDynamics.Agent.Forms

Real user monitoring for your Xamarin Forms app.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.4.0 20,936 4/10/2024
2023.12.0 11,660 12/21/2023
2023.2.0 21,924 2/14/2023
2022.10.0 24,447 10/26/2022
2022.9.0 3,788 9/1/2022
2022.6.0 16,759 6/22/2022
2022.5.0 265,518 5/10/2022
2022.5.0-alpha2 341 4/29/2022
2022.4.0 868 4/20/2022
2022.4.0-beta2 178 4/19/2022
2022.4.0-alpha1 313 3/17/2022
2022.3.0 94,591 3/17/2022
2022.3.0-alpha5 239 3/9/2022
2022.2.0 3,459 2/14/2022
2022.1.0-beta1 550 1/21/2022
2021.9.0 5,819 9/15/2021
2021.8.1 826 8/17/2021
2021.8.0 1,270 8/11/2021
2021.6.1 502 7/28/2021
2021.6.0 745 6/25/2021
2021.5.1 68,923 5/20/2021
2021.2.0 105,220 2/19/2021
2020.11.0 72,700 11/19/2020
2020.10.0 664 11/10/2020
2020.4.0 94,590 4/6/2020
2020.3.3 764 3/16/2020
50.3.1101 4,170 1/27/2020
50.3.1099 1,109 12/5/2019
50.2.1066 1,093 9/30/2019
50.2.1064 9,150 7/26/2019
50.2.1060 46,174 5/30/2019
50.1.1048 15,390 4/17/2019
50.1.1033 226,072 3/21/2019
50.0.1010 830 2/21/2019
45.6.962 2,203 1/16/2019
45.5.920 950 12/4/2018
45.4.895 8,519 10/25/2018
45.2.865 1,304 10/5/2018
45.1.806 2,150 8/29/2018
45.0.671 42,010 7/11/2018
44.3.476 4,567 5/3/2018
44.1.288 3,218 1/19/2018
44.0.218 54,748 11/2/2017
43.7.228 1,262 10/13/2017
43.5.149 1,854 8/9/2017
43.3.1 17,566 6/15/2017
43.3.0 1,156 6/8/2017
43.3.0-beta1-ge9c917f2878 1,068 5/14/2017
43.2.0-beta1-gb128ad4 1,042 4/7/2017
43.0.0-beta2-gb9950dc 1,031 3/8/2017
20.3.2 683 3/13/2020
20.3.1 654 3/10/2020

Version: 2022.1.0-beta1

Native Agents: com.appdynamics.eum.android:mobile-android:21.6.0.2076, com.appdynamics.eum:mobile-ios:2021.8.1.2573

Changes:

Version 2022.1.0 brings Automatic Network Instrumentation for Xamarin applications. This is handled via a separate library, called AppDynamics.Agent.AutoInstrument.Fody, so to use it, make sure the new library is included alongside the existing AppDynamics.Agent / AppDynamics.Agent.Forms library. In order for it to properly work, do not forget to update the AppDynamics.Agent version to the latest version as well, 2022.1.0.

Automatic Instrumentation will work for these two scenarios:
- Requests sent using the HttpClient. We will automatically inject the instrumentation code for you, targeting the HttpClient constructor.
- Requests sent using the Refit library. We will automatically inject the instrumentation code for you when you are sending requests using the Refit RestService.

> How to use

1. Make sure you already have the AppDynamics.Agent / AppDynamics.Agent.Forms package set up and initialised.
2. Add the new AppDynamics.Agent.AutoInstrument.Fody package.
3. Build the solution.

Normally, after you build the solution, two files will be generated automatically:
1. FodyWeavers.xml
2. FodyWeavers.xsd

These files should be checked into source control!  

Note1: If the above files are not generated automatically, a new file called FodyWeavers.xml should be created manually having the content as below:
- - -
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
 <AppDynamics.Agent.AutoInstrument />
</Weavers>
- - -

Note2: If the project is already using Fody, these files will already be there and only the FodyWeavers.xml file has to be updated to include the AppDynamics.Agent.AutoInstrument weaver.  Example:
- - -
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
 ... Existing weavers ...
 <AppDynamics.Agent.AutoInstrument />
</Weavers>
- - -


> Customize automatic instrumentation

There are two ways of enabling or disabling Automatic Http instrumentation:

1. Global Switch

You can enable or disable HttpInstrumentation using the FodyWeavers.xml file, via the NetworkInstrumentationEnabled flag. Example:
- - -
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
 ... Existing weavers ...
 <AppDynamics.Agent.AutoInstrument NetworkInstrumentationEnabled="true"/>
</Weavers

2. Per class switch

You can enable or disable network instrumentation per class using two different attributes: EnableNetworkInstrumentation or DisableNetworkInstrumentation.

- - -
[EnableNetworkInstrumentation]
public class MyClass
{
   ...
}
- - -

- - -
[DisableNetworkInstrumentation]
public class MyClass
{
   ...
}
- - -

This means that you can either:
1. Enable the automatic instrumentation at a project level from the FodyWeavers.xml file, but exclude some files using the DisableNetworkInstrumentation attribute.
2. Disable the automatic instrumentation at a project level from the FodyWeavers.xml file, but include some files using the EnableNetworkInstrumentation attribute.