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.Forms

Real user monitoring for your Xamarin Forms app.

AppDynamics.Agent.Maui

Real user monitoring for your Maui app.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.4.0 14,926 4/10/2024
2023.12.0 10,259 12/21/2023
2023.2.0 21,470 2/14/2023
2022.10.0 23,878 10/26/2022
2022.9.0 3,769 9/1/2022
2022.6.0 15,883 6/22/2022
2022.5.0 258,400 5/10/2022
2022.5.0-alpha2 338 4/29/2022
2022.4.0 865 4/20/2022
2022.4.0-beta2 175 4/19/2022
2022.4.0-alpha1 310 3/17/2022
2022.3.0 93,818 3/17/2022
2022.3.0-alpha5 236 3/9/2022
2022.2.0 3,456 2/14/2022
2022.1.0-beta1 547 1/21/2022
2021.9.0 5,801 9/15/2021
2021.8.1 800 8/17/2021
2021.8.0 1,266 8/11/2021
2021.6.1 499 7/28/2021
2021.6.0 742 6/25/2021
2021.5.1 68,920 5/20/2021
2021.2.0 105,016 2/19/2021
2020.11.0 72,067 11/19/2020
2020.10.0 661 11/10/2020
2020.4.0 94,519 4/6/2020
2020.3.3 761 3/16/2020
50.3.1101 4,166 1/27/2020
50.3.1099 1,106 12/5/2019
50.2.1066 1,090 9/30/2019
50.2.1064 9,147 7/26/2019
50.2.1060 46,017 5/30/2019
50.1.1048 15,384 4/17/2019
50.1.1033 226,063 3/21/2019
50.0.1010 824 2/21/2019
45.6.962 2,196 1/16/2019
45.5.920 941 12/4/2018
45.4.895 8,189 10/25/2018
45.2.865 1,293 10/5/2018
45.1.806 2,139 8/29/2018
45.0.671 42,001 7/11/2018
44.3.476 4,557 5/3/2018
44.1.288 3,211 1/19/2018
44.0.218 54,741 11/2/2017
43.7.228 1,253 10/13/2017
43.5.149 1,846 8/9/2017
43.3.1 17,557 6/15/2017
43.3.0 1,147 6/8/2017
43.3.0-beta1-ge9c917f2878 1,061 5/14/2017
43.2.0-beta1-gb128ad4 1,033 4/7/2017
43.0.0-beta2-gb9950dc 1,024 3/8/2017
20.3.2 680 3/13/2020
20.3.1 642 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.