Skip to content

Support for custom trace #495

@fahmisdk6

Description

@fahmisdk6

We want to implement tracing where we have full control to start and stop the tracing. For example we want to track the time needed from user tap Submit button in screen A until screen B fully loaded. We currently use
https://firebase.google.com/docs/perf-mon/custom-code-traces?platform=flutter#add-custom-code-traces but want to implement it in datadog.

We have tried current solutions from dd-sdk-flutter but found some restrictions:

  1. addTiming seems to only suitable to track screen opened -> something loaded
  2. track-user-action has restriction of 10s and will automatically stopped when user move to another screen
  3. track-custom-resource need to be treated as http request, need url, method etc.

We also noticed that datadog android has capability of tracing, is it equivalent to firebase perf custom trace and can we implement it in flutter?
https://docs.datadoghq.com/tracing/trace_collection/dd_libraries/android/?tab=kotlin

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgauging-interestWe are determining how much interest there is in this feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions