تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
Firebase Performance Monitoring
plat_iosplat_androidplat_webplat_flutter
الحصول على إحصاءات حول مشاكل أداء تطبيقك
Firebase Performance Monitoring هي خدمة تساعدك في الحصول على معلومات حول
خصائص الأداء لكل من Apple وAndroid وتطبيقات الويب.
أنت تستخدم حزمة تطوير البرامج (SDK) Performance Monitoring لجمع بيانات الأداء من تطبيقك،
مراجعة تلك البيانات وتحليلها في وحدة تحكُّم Firebase. يساعدك Performance Monitoring
للتعرُّف في الوقت الفعلي على المواضع التي يمكن فيها تحسين أداء تطبيقك
يمكنك استخدام هذه المعلومات لإصلاح مشكلات الأداء.
يمكنك تلقائيًا قياس وقت بدء تشغيل التطبيق وطلبات شبكة HTTP
المزيد
عند دمج حزمة تطوير البرامج (SDK) Performance Monitoring في تطبيقك، لن تحتاج إلى إجراء ما يلي:
كتابة أي رمز قبل أن يبدأ تطبيقك في مراقبة العديد من
والجوانب المهمة للأداء.
بالنسبة إلى التطبيقات الأصلية، تسجِّل حزمة SDK وقت بدء التشغيل وعرض البيانات حسب الشاشة
النشاط أثناء التشغيل في المقدّمة أو الخلفية بالنسبة إلى تطبيقات الويب، تتضمن سجلات SDK
جوانب مثل عرض أول محتوى مرئي، والقدرة على التفاعل مع المستخدمين
وتطبيقك وأكثر من ذلك.
الحصول على إحصاءات عن المواقف التي يُحتمل أن يكون فيها أداء التطبيق
محسَّنة
قد يكون تحسين أداء تطبيقك أمرًا صعبًا عندما لا
تعرف بالضبط سبب عدم تلبية توقعات المستخدم. لهذا السبب
يتيح لك Performance Monitoring الاطّلاع على مقاييس الأداء موزَّعة حسب
والسمات، مثل البلد
الجهاز وإصدار التطبيق ومستوى نظام التشغيل.
تخصيص التتبُّع لتطبيقك
يمكنك استخدام الآلات الموسيقية
تتبُّع الرموز المخصّصة
لتسجيل أداء تطبيقك في مواقف معيّنة، مثلاً عند
تحميل شاشة جديدة أو عرض ميزة تفاعلية جديدة. ويمكنك
إنشاء مقاييس مخصّصة في عمليات تتبُّع الرموز المخصّصة هذه لاحتساب الأحداث
التي تحددها (مثل نتائج ذاكرة التخزين المؤقت) أثناء عمليات التتبع هذه.
تحديد التغييرات الكبيرة في أداء التطبيق
تحديد وحل المشاكل الرئيسية في أداء التطبيق، مثل الشبكة
من حالات انقطاع الخدمة، أمر حيوي لنجاح تطبيقك. تتيح مراقبة الأداء
يمكنك إعداد التنبيهات وتخصيصها
وأهم أجزاء التطبيق لتتمكّنوا من الاطّلاع على
صعوبات الأداء - قبل
أنها تؤثر على المستخدمين لديك.
كيف تعمل هذه الميزة؟
عند إضافة حزمة تطوير البرامج (SDK) "Performance Monitoring"، يبدأ Firebase تلقائيًا في جمع البيانات.
بيانات لعدة عمليات شائعة في تطبيقك، على سبيل المثال:
يستخدم Performance Monitoringعمليات التتبّع لجمع بيانات حول هذه العمليات. التتبع هو
تقرير يحتوي على بيانات تم تسجيلها بين نقطتَين في تطبيقك.
يُطلق على بيانات الأداء التي تم جمعها لكل عملية تتبُّع اسم المقاييس وتختلف هذه المقاييس.
بناءً على نوع التتبّع. على سبيل المثال، عندما تحدث مشكلة في تطبيقك
طلب الشبكة، يجمع التتبع المقاييس المهمة للشبكة
مراقبة الطلب، مثل وقت الاستجابة وحجم الحمولة.
في كل مرة يشغّل فيها أي نسخة من تطبيقك عملية مُراقَبة، تتم مراقبة عملية التتبُّع
تجمع تلقائيًا بيانات السمات لمثيل التطبيق هذا. بالنسبة
على سبيل المثال، إذا أصدر تطبيق Android طلب شبكة، تجمع عملية التتبُّع بيانات
وإصدار التطبيق وغير ذلك من السمات الأخرى لمثيل التطبيق المحدد. إِنْتَ
استخدام هذه السمات لتصفية بيانات الأداء ومعرفة ما إذا كانت
شرائح المستخدمين التي تواجه مشكلات.
تساعدك ميزة "تتبُّع الخطوات الجاهزة" من "Performance Monitoring" على بدء تتبُّع
التطبيق، ولكن لمعرفة المزيد عن أداء مهام أو تدفقات محددة، جرّب
إعداد بيانات آثار الرموز المخصّصة
في تطبيقك.
مسار التنفيذ
أضِف حزمة تطوير البرامج (SDK) Performance Monitoring إلى تطبيقك
يمكنك إضافة حزمة تطوير البرامج (SDK) Performance Monitoring إلى تطبيقك مع أي حزمة أخرى.
منتجات Firebase التي تريد استخدامها في تطبيقك أنظمة Apple الأساسية |
Android |
الويب |
Flutter
(اختياري)
تتبُّع الرموز المخصّصة للأداة والمقاييس المخصّصة في تطبيقك
مراقبة بيانات الأداء في وحدة التحكّم في الوقت الفعلي
في جلسة المعمل،
وحدة تحكّم واحدة (Firebase)،
يمكنك مراقبة بيانات الأداء من المستخدمين لمعرفة
يمكن فيها تحسين أداء التطبيق. يمكنك أيضًا
تقسيم بيانات الأداء حسب
السمات، مثل إصدار التطبيق
البلد أو الجهاز أو نظام التشغيل.
بيانات المستخدمين
لا تخزِّن Performance Monitoring أي معلومات تحديد الهوية الشخصية بشكل دائم.
المعلومات (مثل الأسماء أو عناوين البريد الإلكتروني أو أرقام الهواتف). أثناء المراقبة
طلبات الشبكة عبر HTTP، يستخدم Performance Monitoring عناوين URL (لا يشمل معلَمات عناوين URL)
لإنشاء أنماط عناوين URL مجمّعة ومجهولة الهوية يتم الاحتفاظ بها في النهاية
ويظهر في وحدة تحكُّم Firebase.
تاريخ التعديل الأخير: 2025-07-24 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-24 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["Firebase Performance Monitoring \nplat_ios plat_android plat_web plat_flutter \nGain insight into your app's performance issues. \nFirebase Performance Monitoring is a service that helps you to gain insight into the performance characteristics of your Apple, Android, and web apps.\n\n\u003cbr /\u003e\n\nYou use the Performance Monitoring SDK to collect performance data from your app, then\nreview and analyze that data in the Firebase console. Performance Monitoring helps you\nto understand in real time where the performance of your app can be improved so\nthat you can use that information to fix performance issues.\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[iOS+](/docs/perf-mon/get-started-ios)\n[Android](/docs/perf-mon/get-started-android)\n[Web](/docs/perf-mon/get-started-web)\n[Flutter](/docs/perf-mon/flutter/get-started)\n\nKey capabilities\n\n|-------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Automatically measure app startup time, HTTP network requests, and more | When you integrate the Performance Monitoring SDK into your app, you don't need to write any code before your app starts automatically monitoring several critical aspects of performance. For native apps, the SDK logs startup time, rendering data by screen, and activity while in the foreground or background. For web apps, the SDK logs aspects like first contentful paint, ability for users to interact with your app, and more. |\n| Gain insight into situations where app performance could be improved | Optimizing the performance of your app can be challenging when you don't know exactly why it is falling short of user expectations. That's why Performance Monitoring lets you see performance metrics broken down by [*attributes*](/docs/perf-mon/attributes), like country, device, app version, and OS level. |\n| Customize monitoring for your app | You can instrument [*custom code traces*](/docs/perf-mon/custom-code-traces) to capture your app's performance in specific situations, like when you load a new screen or display a new interactive feature. And, you can create *custom metrics* on these custom code traces to count events that you define (like cache hits) during those traces. |\n| Identify significant changes in app performance | Identifying and resolving major app performance issues, like network outages, is vital to the success of your app. Performance Monitoring lets you [set up and customize alerts](/docs/perf-mon/alerts) for the most critical parts of your app so you can see and respond to performance pitfalls -- before they affect your users. |\n\nHow does it work?\n\nWhen you add the Performance Monitoring SDK, Firebase *automatically* starts collecting\ndata for several common processes in your app, for example:\n\n|---|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| | - [App start up time for Apple and Android apps](/docs/perf-mon/app-start-foreground-background-traces) - [Screen rendering for Apple and Android apps](/docs/perf-mon/screen-traces) | - [Page loading for web apps](/docs/perf-mon/page-load-traces) - [Network requests for all types of apps](/docs/perf-mon/network-traces) |\n\nPerformance Monitoring uses ***traces*** to collect data about these processes. A trace is\na report that contains data captured between two points in time in your app.\n\nThe collected performance data for each trace are called ***metrics*** and vary\ndepending on the type of trace. For example, when an instance of your app issues\na network request, the trace collects metrics that are important for network\nrequest monitoring, like response time and payload size.\n\nEach time an instance of your app runs a monitored process, the associated trace\nalso automatically collects ***attributes*** data for that app instance. For\nexample, if an Android app issues a network request, the trace collects the\ndevice, app version, and other attributes for that specific app instance. You\ncan use these attributes to filter your performance data and learn if specific\nuser segments are experiencing issues.\n\nThe out-of-the-box traces from Performance Monitoring get you started with monitoring your\napp, but to learn about the performance of specific tasks or flows, try out\n[instrumenting your own custom traces of code](/docs/perf-mon/custom-code-traces)\nin your app.\n\nImplementation path\n\n|---|---------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Add the Performance Monitoring SDK to your app | You can add the Performance Monitoring SDK to your app, along with any other Firebase products that you want to use in your app. [Apple platforms](/docs/perf-mon/get-started-ios) \\| [Android](/docs/perf-mon/get-started-android) \\| [Web](/docs/perf-mon/get-started-web) \\| [Flutter](/docs/perf-mon/flutter/get-started) |\n| | *(Optional)* Instrument custom code traces and custom metrics in your app | Using the Performance Monitoring SDK, you can instrument [custom code traces and custom metrics](/docs/perf-mon/custom-code-traces) to measure specific aspects of your app's performance. |\n| | Monitor performance data in the console in real time | In the [Firebase console](//console.firebase.google.com/project/_/performance), you can monitor performance data from your users to learn the specific situations where your app's performance could be improved. You can also break down the performance data by [attributes](/docs/perf-mon/attributes), like app version, country, device, or OS. |\n\nUser data\n\nPerformance Monitoring does not permanently store any personally identifiable\ninformation (such as names, email addresses, or phone numbers). While monitoring\nHTTP network requests, Performance Monitoring uses URLs (not including URL parameters)\nto build aggregated and anonymous URL patterns that are eventually persisted\nand shown in the Firebase console.\n\nFor more details, refer to the\n[Examples of information collected by\nPerformance Monitoring](/support/privacy#performance-monitoring-collected-info).\n\nNext steps\n\n- To get started using Performance Monitoring in your app, visit:\n\n - [Get Started with Performance Monitoring for Apple platforms](/docs/perf-mon/get-started-ios)\n - [Get Started with Performance Monitoring for Android](/docs/perf-mon/get-started-android)\n - [Get Started with Performance Monitoring for web](/docs/perf-mon/get-started-web)\n - [Get Started with Performance Monitoring on Flutter](/docs/perf-mon/flutter/get-started)\n- To learn about setting up alerts, see [Set up alerts for performance issues](https://firebase.google.com/docs/perf-mon/alerts)."]]