I am trying to integrate Dynatrace to Xamarin forms project and facing issue. I added the latest Dynatrace.OneAgent.Xamarin nuget package to PCL. While trying to setup http client, I am getting a missing assembly error. Please note that the package has already been included and still facing the issue. Please find below the details
Platform : Xamarin Forms App
Library Type : PCL (.NET Framework 4.5)
Dynatrace NuGet Package Version : 7.2.3
IDE : Visual Studio for Mac
Error : Error CS0246: The type or namespace name 'Dynatrace' could not be found (are you missing a using directive or an assembly reference?)
Please find below the Build Output log
A TargetFramework profile exclusion list will be generated.
/Library/Frameworks/Mono.framework/Versions/6.0.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2126,5): warning MSB3274: The primary reference "Dynatrace.OneAgent.Forms" could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111".
Manual Instrumentation can be done only for PCL service calls right? I suppose all the native actions are handled by auto instrumentation. In that case, we can control only service calls being monitored. Please correct me if I am wrong.
In your experience with using Dynatrace, did you come across any perfomance issues due to the auto instrumentation. Auto instrumentation is implemented by adding additional logs and senting it back to server. Just curious to know. TIA
About auto instrumentation in Xamarin, I'm not sure. In general you are able to use manual instrumentation but according to what I see indeed it's something complementary to auto instrumentation. But maybe somebody will confirm it.
About impact, dynatrace for mobile application is not instrumenting them the same way as backend apps. In general only user clicks are recorded to local DB + info about errors and WebRequests. All those data are then sent async to Dynatrace in small data chuncks. I'm working with dynatrace and appmon couple of years, I've never faced impakt of instrumentation in mobile apps. Worth to admit that we are monitoring this way some banks applications without any issues.