dd-sdk-flutter icon indicating copy to clipboard operation
dd-sdk-flutter copied to clipboard

Anomaly on application_start duration

Open fahmisdk6 opened this issue 1 year ago • 7 comments

Describe what happened We have over 1k sessions with application_start duration of over 1 hour. But the user behavior seems normal. Is it a known bug for dd-sdk-flutter on Android OS? Is there a way to fix it?

Steps to reproduce the issue: Search actions using this query @action.type:application_start @session.type:user env:release @os.name:Android

Screen Shot 2024-01-04 at 17 18 35

User behavior seems fine even with the 2-hour-long startup time:

Screen Shot 2024-01-04 at 17 25 19

Describe what you expected:

application_start working normally, without anomaly of duration > 1 hour

Additional context

  • Flutter version: 3.7.12
  • Android: across all versions

fahmisdk6 avatar Jan 04 '24 10:01 fahmisdk6

Hi @fahmisdk6, thanks for reporting.

This looks related to https://github.com/DataDog/dd-sdk-android/issues/1765

What version of the Datadog SDK are you using?

fuzzybinary avatar Jan 04 '24 14:01 fuzzybinary

ah we are still using v1.6.2. we'll update to v2.x then

fahmisdk6 avatar Jan 05 '24 02:01 fahmisdk6

Be aware this may not fix the issue, we're still investigating.

To help us, can you let us know if your app does any background work?

fuzzybinary avatar Jan 05 '24 14:01 fuzzybinary

Yes we are aware, thanks.

No our app does not have any background work

fahmisdk6 avatar Jan 09 '24 07:01 fahmisdk6

Hi @fahmisdk6,

Are you still seeing this issue?

fuzzybinary avatar Mar 26 '24 13:03 fuzzybinary

Yes @fuzzybinary, unfortunately upgrading the dd version does not solve it.

fahmisdk6 avatar Mar 28 '24 10:03 fahmisdk6

Okay, thanks for letting us know. We'll continue to look into it.

Is there anything you can tell us about your setup that might be unusual?

fuzzybinary avatar Mar 28 '24 12:03 fuzzybinary