25 Oct 2024 07:34 AM - last edited on 25 Oct 2024 11:07 AM by Patrick_H
Hi Good Morning,
While Instrumenting Flutter Based Hybrid Mobile App Using Dynatrace by keeping Automatic Instrumentation. I am not getting the user actions, Rest API's, 3rd Party Dependencies etc.
But If I am doing the manual instrumentation like:
For User Actions
===========
Solved! Go to Solution.
25 Oct 2024 11:09 AM
The Dynatrace Flutter Plugin is currently not offering auto instrumentation on user action level. The plugin provides ways to automatically report web request, errors or navigations, but not buttons etc. - Still native iOS or Android parts are auto instrumented as usual.
28 Oct 2024 05:56 PM
Hi Matthias,
I have a customer facing this same situation here. They are asking me whether dynatrace has plan to put the user action's auto instrumentation on roadmap?
Regards,
Reginaldo.
28 Oct 2024 06:43 PM
There is a difference between features offered through auto-instrumented RUM monitoring and self-instrumented Custom Applications. Self-Instrumentation allows developers to report data into dynatrace using openKit API methods and beacon-forwarding.
What are you customer's needs? Auto-instrumentation is useful for conventional "user monitoring" like clickpaths, pageloads, etc. It doesn't know exactly what data needs to be put in a table or bizevent for example. In that case the developer can integrate OpenKit to report that data from the source code
28 Oct 2024 06:57 PM - edited 28 Oct 2024 06:57 PM
Hi @Nick-Montana,
Just auto-instrumentation for conventional "user monitoring" on user action level. Click/Touch on butons, pageloads, etc.
Regards,
Reginaldo
29 Oct 2024 07:00 AM
Hi Reginaldo,
Classic auto instrumentation like for native mobile agents is not possible on Dart code level in Flutter. But we are already looking into a root widget based approach, which allows to track touch on buttons for example.
Matthias
25 Oct 2024 11:17 AM
Thanku For The Update.
If I am calling Rest API's In My Mobile App using either dio/http networking package. Do I Need To Set Some Headers Or It Will Be Automatically Captured.
25 Oct 2024 11:32 AM
A header is always needed. Otherwise a full monitoring experience including linked backend calls is not possible. Setting the header can be done manually or automatically. See https://pub.dev/packages/dynatrace_flutter_plugin#httpClient or our dio extension.