DataDog / dd-sdk-flutter

Flutter bindings and tools for utilizing Datadog Mobile SDKs
Apache License 2.0
43 stars 42 forks source link

Flutter error tracking by raw code #588

Closed ChanghyeonYoon closed 5 months ago

ChanghyeonYoon commented 5 months ago

Feature description

When I use flutter, there is no way to upload javascript sourcemaps or raw dart code.

In flutter web, For error tracking by source code by detail, I need to upload javascript sourcemap like javascript platform RUM.

In flutter mobile(Android, iOS, ...etc) For error tracking by source code by detail, I need to check raw dart code.

Proposed solution

No response

Other relevant information

Error tracking javascript platform RUM

image

Error tracking flutter web platform RUM

image

Error tracking flutter mobile(Android, IOS) platform RUM

image

In mobile platform (Android, IOS), there is error code line information but, doesn't show raw code like javascript platform RUM. I want to check raw code in dashboard.

fuzzybinary commented 5 months ago

Hi @ChanghyeonYoon

We do support uploading source maps for Flutter Web: https://github.com/DataDog/datadog-ci/blob/master/src/commands/flutter-symbols/README.md

The parameter you're looking for is --web-sourcemaps if you're building everything to default locations.

The ability to show the raw code for Mobile RUM is a missing feature. If you could reach out to your CSM to request it as a feature tha will help us properly prioritize it.

Let me know if you have any issues getting source maps to work!

ChanghyeonYoon commented 5 months ago

CSM

Where is CSM??

fuzzybinary commented 5 months ago

Sorry -- CSM is Datadog's abbreviation for Customer Success Manager. It's whoever your organization's main point of contact at Datadog is. If you don't have one, let me know and I can raise the feature request for you (it's just better if it comes from your organization).

ChanghyeonYoon commented 5 months ago

@fuzzybinary Thx for your support. Could you request to CSM instead me?

PS. I got involved with DASH this year by becoming a Datadog ambassador. I'd love to see you at the event if possible!

fuzzybinary commented 5 months ago

Yes I'll raise it for you.

I'm not usually at DASH, unfortunately, but have fun!