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 187 4/10/2024
2023.12.0 2,344 12/21/2023
2023.2.0 17,102 2/14/2023
2022.10.0 18,876 10/26/2022
2022.9.0 3,558 9/1/2022
2022.6.0 13,925 6/22/2022
2022.5.0 211,896 5/10/2022
2022.5.0-alpha2 275 4/29/2022
2022.4.0 821 4/20/2022
2022.4.0-beta2 154 4/19/2022
2022.4.0-alpha1 247 3/17/2022
2022.3.0 90,266 3/17/2022
2022.3.0-alpha5 202 3/9/2022
2022.2.0 3,390 2/14/2022
2022.1.0-beta1 488 1/21/2022
2021.9.0 5,745 9/15/2021
2021.8.1 741 8/17/2021
2021.8.0 1,201 8/11/2021
2021.6.1 462 7/28/2021
2021.6.0 701 6/25/2021
2021.5.1 68,882 5/20/2021
2021.2.0 102,265 2/19/2021
2020.11.0 69,339 11/19/2020
2020.10.0 628 11/10/2020
2020.4.0 93,144 4/6/2020
2020.3.3 720 3/16/2020
50.3.1101 4,064 1/27/2020
50.3.1099 1,068 12/5/2019
50.2.1066 1,057 9/30/2019
50.2.1064 9,115 7/26/2019
50.2.1060 44,544 5/30/2019
50.1.1048 15,304 4/17/2019
50.1.1033 226,030 3/21/2019
50.0.1010 787 2/21/2019
45.6.962 2,159 1/16/2019
45.5.920 898 12/4/2018
45.4.895 6,799 10/25/2018
45.2.865 1,252 10/5/2018
45.1.806 2,096 8/29/2018
45.0.671 41,966 7/11/2018
44.3.476 4,531 5/3/2018
44.1.288 3,002 1/19/2018
44.0.218 54,710 11/2/2017
43.7.228 1,220 10/13/2017
43.5.149 1,815 8/9/2017
43.3.1 17,522 6/15/2017
43.3.0 1,109 6/8/2017
43.3.0-beta1-ge9c917f2878 1,028 5/14/2017
43.2.0-beta1-gb128ad4 1,012 4/7/2017
43.0.0-beta2-gb9950dc 999 3/8/2017
20.3.2 650 3/13/2020
20.3.1 603 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.