惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
I
InfoQ
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
Y
Y Combinator Blog
博客园_首页
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
C
Check Point Blog
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Engineering at Meta
Engineering at Meta
B
Blog
爱范儿
爱范儿
Stack Overflow Blog
Stack Overflow Blog
aimingoo的专栏
aimingoo的专栏
WordPress大学
WordPress大学
F
Fortinet All Blogs
月光博客
月光博客
GbyAI
GbyAI

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Monitor Flutter application performance with Datadog Mobi...
Addie Beach, Priyanshi Gupta · 2022-05-03 · via Datadog | The Monitor blog

Flutter is a popular open source framework that allows you to build, test, and deploy high-performance, multi-platform applications with a single codebase. Developed by Google, Flutter is backed by a robust developer community and is compatible with the latest native functionalities, including iOS Metal.

Flutter’s native debugging tools can be useful for investigating ad hoc issues, but these tools won’t give you the full context you need to understand user sessions and troubleshoot past errors. To provide deep visibility into your user experience (UX) across iOS and Android devices, Datadog Mobile Real User Monitoring (RUM) offers support for Flutter. And because RUM also gives you full visibility into hybrid apps, you can access all your session events in a single view, no matter their source. In this post, we’ll show how Datadog can help you:

Timeline for a Flutter session, showing an app start event followed by load and scroll events.

Gain insights into user journeys

Flutter apps adapt their layout to each operating system, so you can deliver a consistent, optimized interface for all your users, no matter which device they use. This flexibility makes it crucial to analyze data from across your iOS and Android apps—otherwise, you risk having an incomplete picture.

Additionally, Flutter’s cross-platform functionality enables you to develop seamless hybrid apps. However, this can make monitoring a challenge, as you need to consolidate session information from multiple sources for each session. To effectively analyze Flutter app performance, you’ll want to combine related data from your web and native mobile views for a complete picture of your user journeys and frustration points.

Datadog RUM automatically tags session information by OS and web or native component, making it easy to compare design efficacy across platforms and views. If you notice different conversion rates for iOS and Android users, you can drill down into sessions to figure out why. Or, if you receive complaints from users after deploying a new version of your app, you can use session information to assess where they’re running into difficulties.

List of user sessions, narrowed to ones coming from Flutter.

You can also pivot to Product Analytics to gather further insights for streamlining your UX. For example, if you recently added a newsletter call to action (CTA) on your app, you can use the User Journeys features within Product Analytics to evaluate your CTA’s conversion rate. The funnel analysis feature in particular helps you visualize the percentage of users that complete a specific workflow, allowing you to pinpoint where you tend to lose customers. Looking at the funnel graph below shows you that customers are leaving your app without signing up for your newsletter. By pivoting to an individual session, you can then see that slow rendering times on certain views may be preventing users from being able to access your CTA. As a result, you decide to strategize ways to improve the rendering performance of those views.

Funnel for Flutter sessions showing users dropping off before reaching the newsletter signup.

Troubleshoot errors and performance issues with RUM and APM

If your Flutter app runs into issues, you can quickly troubleshoot in RUM. RUM offers visibility into Mobile Vitals—including widget build and raster times, frozen frames, and poor resource usage—alongside associated events, making it easy to get insights into the causes of performance issues. For example, if you receive complaints of slow render times, Mobile Vitals can help you determine if widgets or raster threads could be the culprit.

Let’s say you receive an alert that customers are experiencing errors when attempting to make a purchase. To investigate, you can view an associated session. On the performance timeline for the session, you notice that customers are running into latency on the cart screen, so you click to inspect that view. You see that two Mobile Vitals fall outside the recommended ranges (below), which may have affected this user’s experience.

Event timings and Mobile Vitals for a Flutter view with poor CPU ticks per second and memory usage.

If you’ve configured RUM to link with APM, Datadog will automatically connect frontend requests to your app with their associated backend traces. This allows you to debug the source of user performance issues regardless of where they originate in your stack. By viewing the correlated trace from this RUM view, you’re able to pinpoint that a third-party API was having trouble connecting to your iOS app. In this instance, you may want to contact the API service’s support team to see whether they’re aware of any issues involving iOS devices.

Traces for a Flutter view with an error message on one of the requests.

Get multi-platform visibility into Flutter apps with Mobile RUM

Datadog Mobile RUM gives you session and performance data for your Flutter iOS and Android apps, helping you resolve issues and optimize your end-user experience. With our Flutter integration, you can analyze sessions and funnels to better understand user behavior as well as leverage APM traces to ensure your users are receiving the smoothest possible experience.

If you’re an existing Datadog customer, you can install our Flutter plugin to get started. Or, if you’re new to Datadog and want to get deep visibility into your Flutter apps, sign up for a 14-day free trial.