संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Firebase Performance Monitoring
plat_iosplat_androidplat_webplat_flutter
अपने ऐप्लिकेशन की परफ़ॉर्मेंस की समस्याओं के बारे में अहम जानकारी पाएं.
Firebase Performance Monitoring एक ऐसी सेवा है जो
Apple, Android, और वेब ऐप्लिकेशन की परफ़ॉर्मेंस की विशेषताएं.
अपने ऐप्लिकेशन से परफ़ॉर्मेंस का डेटा इकट्ठा करने के लिए, Performance Monitoring SDK टूल का इस्तेमाल करें. इसके बाद,
Firebase कंसोल में उस डेटा की समीक्षा और विश्लेषण करता है. Performance Monitoring आपकी मदद करता है
रीयल टाइम में यह समझने के लिए कि आपके ऐप्लिकेशन की परफ़ॉर्मेंस को कैसे बेहतर बनाया जा सकता है
इस जानकारी का इस्तेमाल करके, परफ़ॉर्मेंस की समस्याएं ठीक की जा सकती हैं.
क्या आप इसे इस्तेमाल करने के लिए तैयार हैं? अपना प्लैटफ़ॉर्म चुनें:
ऐप्लिकेशन के शुरू होने में लगने वाला समय, एचटीटीपी नेटवर्क के अनुरोध, और
और पढ़ें
Performance Monitoring SDK टूल को अपने ऐप्लिकेशन के साथ इंटिग्रेट करने पर, आपको ये काम करने की ज़रूरत नहीं होती
इससे पहले कि आपका ऐप्लिकेशन कई कोड की अपने-आप मॉनिटरिंग शुरू करे, उनमें कोई भी कोड लिखें
के कई पहलू शामिल होते हैं. अभी तक किसी भी व्यक्ति ने चेक इन नहीं किया है
खास ऐप्लिकेशन के लिए, SDK टूल स्टार्टअप समय लॉग करता है, स्क्रीन के हिसाब से डेटा रेंडर करता है, और
फ़ोरग्राउंड या बैकग्राउंड में होने वाली गतिविधि. वेब ऐप्लिकेशन के लिए, SDK टूल के लॉग
जैसे, फ़र्स्ट कॉन्टेंटफ़ुल पेंट, लोगों के लिए आसानी से इंटरैक्ट करने की सुविधा वगैरह
आपका ऐप्लिकेशन वगैरह.
उन स्थितियों के बारे में अहम जानकारी पाएं जिनमें ऐप्लिकेशन की परफ़ॉर्मेंस
बेहतर
अगर काम नहीं करते हैं, तो अपने ऐप्लिकेशन की परफ़ॉर्मेंस को ऑप्टिमाइज़ करना चुनौती भरा हो सकता है
पता चल पाएगा कि आखिर क्यों यह उपयोगकर्ता की उम्मीदों पर खरा नहीं उतर रहा है. इसलिए,
Performance Monitoring की मदद से, परफ़ॉर्मेंस मेट्रिक को इनके आधार पर बांटा गया है
एट्रिब्यूट, जैसे कि देश,
और ओएस लेवल पर मिलेगा.
अपने ऐप्लिकेशन के लिए, पसंद के मुताबिक मॉनिटरिंग की सुविधा चालू करें
इंस्ट्रुमेंट डिज़ाइन किया जा सकता है
कस्टम कोड ट्रेस
की मदद से कुछ खास स्थितियों में अपने ऐप्लिकेशन की परफ़ॉर्मेंस को कैप्चर किया जा सकता है. उदाहरण के लिए,
नई स्क्रीन लोड करें या कोई नई इंटरैक्टिव सुविधा दिखाएं. और आप
इवेंट की गिनती करने के लिए, इन कस्टम कोड ट्रेस पर कस्टम मेट्रिक बनाएं
जिसे आपने उन ट्रेस के दौरान तय किया है (जैसे कैशे हिट).
ऐप्लिकेशन की परफ़ॉर्मेंस में हुए अहम बदलावों के बारे में बताएं
ऐप्लिकेशन की परफ़ॉर्मेंस से जुड़ी मुख्य समस्याओं की पहचान करना और उन्हें ठीक करना, जैसे कि नेटवर्क
कुछ समय के लिए उपलब्ध न होना, आपके ऐप्लिकेशन की सफलता के लिए ज़रूरी है. परफ़ॉर्मेंस मॉनिटर करने की सुविधा की मदद से
इनके लिए सूचनाएँ सेट अप और कस्टमाइज़ की जाती हैं
आपके ऐप्लिकेशन के सबसे ज़रूरी हिस्से होते हैं, ताकि आप इन्हें देख सकें और
जवाब दे सकें
प्रदर्शन में कमी – पहले
तो वे आपके उपयोगकर्ताओं पर असर डालते हैं.
यह कैसे काम करता है?
Performance Monitoring SDK टूल जोड़ने पर, Firebase अपने-आप डेटा इकट्ठा करना शुरू कर देता है
आपके ऐप्लिकेशन की कई सामान्य प्रोसेस के लिए डेटा. उदाहरण के लिए:
Performance Monitoring इन प्रोसेस के बारे में डेटा इकट्ठा करने के लिए, ट्रेस का इस्तेमाल करता है. ट्रेस
ऐसी रिपोर्ट जिसमें आपके ऐप्लिकेशन में दो पॉइंट के बीच कैप्चर किया गया डेटा शामिल होता है.
हर ट्रेस के लिए इकट्ठा किए गए परफ़ॉर्मेंस डेटा को मेट्रिक कहा जाता है. डेटा में अंतर होता है
. उदाहरण के लिए, अगर आपके ऐप्लिकेशन में कोई समस्या है
इसका इस्तेमाल करके, ट्रेस ऐसी मेट्रिक इकट्ठा करता है जो नेटवर्क के लिए ज़रूरी हैं
निगरानी के लिए अनुरोध किया जा सकता है, जैसे कि रिस्पॉन्स टाइम और पेलोड साइज़.
जब भी आपके ऐप्लिकेशन के किसी इंस्टेंस को मॉनिटर किया जाता है, तब उससे जुड़ा ट्रेस
साथ ही, उस ऐप्लिकेशन इंस्टेंस के लिए एट्रिब्यूट का डेटा अपने-आप इकट्ठा करता है. इसके लिए
उदाहरण के लिए, अगर कोई Android ऐप्लिकेशन नेटवर्क का अनुरोध करता है, तो ट्रेस यह जानकारी इकट्ठा करती है:
किसी खास ऐप्लिकेशन इंस्टेंस के लिए डिवाइस, ऐप्लिकेशन का वर्शन, और अन्य एट्रिब्यूट की वैल्यू सबमिट करें. आपने लोगों तक पहुंचाया मुफ़्त में
इन एट्रिब्यूट का इस्तेमाल करके, परफ़ॉर्मेंस डेटा को फ़िल्टर किया जा सकता है. साथ ही, यह भी पता लगाया जा सकता है कि
उपयोगकर्ताओं के ग्रुप में समस्याएं आ रही हैं.
Performance Monitoring के सबसे अलग तरह के ट्रेस से आपको अपनी परफ़ॉर्मेंस को मॉनिटर करने में मदद मिलती है
ऐप की मदद से, किसी भी टास्क या फ़्लो की परफ़ॉर्मेंस के बारे में जानने के लिए,
कोड के अपने कस्टम ट्रेस बनाना
आपके ऐप्लिकेशन में.
लागू करने का पाथ
अपने ऐप्लिकेशन में Performance Monitoring SDK टूल जोड़ें
अपने ऐप्लिकेशन में किसी अन्य SDK टूल के साथ-साथ, Performance Monitoring SDK टूल जोड़ा जा सकता है
Firebase के वे प्रॉडक्ट जिनका इस्तेमाल आपको अपने ऐप्लिकेशन में करना है. Apple प्लैटफ़ॉर्म |
Android |
वेब |
फ़्लटर
(ज़रूरी नहीं)
अपने ऐप्लिकेशन में, इंस्ट्रुमेंट कस्टम कोड ट्रेस और कस्टम मेट्रिक
रीयल टाइम में, कंसोल में परफ़ॉर्मेंस के डेटा पर नज़र रखें
इस
Firebase कंसोल,
तो आपके पास उपयोगकर्ताओं के परफ़ॉर्मेंस डेटा की निगरानी करने का विकल्प होता है. इससे यह पता चलता है कि
उन स्थितियों में आपके ऐप्लिकेशन की परफ़ॉर्मेंस को बेहतर बनाया जा सकता है. आप यह भी कर सकते हैं
परफ़ॉर्मेंस डेटा को
एट्रिब्यूट, जैसे कि ऐप्लिकेशन का वर्शन,
देश, डिवाइस या OS.
उपयोगकर्ता डेटा
Performance Monitoring, व्यक्तिगत पहचान से जुड़ी किसी भी जानकारी को हमेशा के लिए सेव नहीं करता है
जानकारी (जैसे कि नाम, ईमेल पते या फ़ोन नंबर). मॉनिटर करते समय
एचटीटीपी नेटवर्क के अनुरोध, Performance Monitoring यूआरएल का इस्तेमाल करता है (इसमें यूआरएल पैरामीटर शामिल नहीं हैं)
का इस्तेमाल करके, एग्रीगेट किए गए और बिना पहचान वाले यूआरएल पैटर्न बनाए जा सकते हैं, जो लंबे समय तक बने रहते हैं
और Firebase कंसोल में दिखेगा.
[[["समझने में आसान है","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 (UTC) को अपडेट किया गया."],[],[],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)."]]