Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Firebase Performance Monitoring
plat_iosplat_androidplat_webplat_flutter
Einblick in die App-Leistung erhalten
Firebase Performance Monitoring ist ein Dienst, mit dem Sie Einblick in die Leistungsmerkmale Ihrer Apple-, Android- und Web-Apps erhalten.
Sie verwenden das Performance Monitoring SDK, um Leistungsdaten aus Ihrer App zu erfassen, und prüfen und analysieren diese Daten dann in der Firebase Console. Performance Monitoring hilft Ihnen
um in Echtzeit zu ermitteln, wie die Leistung Ihrer App verbessert werden kann,
damit Sie Leistungsprobleme beheben können.
App-Startzeit, HTTP-Netzwerkanfragen u. a. automatisch messen
Wenn du das Performance Monitoring SDK in deine App einbindest, musst du nicht
bevor Ihre Anwendung beginnt, automatisch mehrere
kritischen Aspekten der Leistung.
Bei nativen Apps protokolliert das SDK die Startzeit, das Rendern der Daten nach Bildschirm und
Aktivitäten im Vordergrund oder im Hintergrund ausführen. Bei Webanwendungen protokolliert das SDK unter anderem Aspekte wie First Contentful Paint und die Möglichkeit für Nutzer, mit Ihrer App zu interagieren.
Einblicke in Situationen gewinnen, in denen die App-Leistung gesteigert werden kann
verbessert
Wenn Sie die Leistung Ihrer App nicht optimieren,
warum die Erwartungen der Nutzenden nicht erfüllt werden. Deshalb
Performance Monitoring zeigt Leistungsmesswerte aufgeschlüsselt nach
attributes wie „country“,
Gerät, App-Version und Betriebssystemebene.
Monitoring für Ihre Anwendung anpassen
Sie können benutzerdefinierte Code-Traces instrumentieren, um die Leistung Ihrer App in bestimmten Situationen zu erfassen, z. B. wenn Sie einen neuen Bildschirm laden oder eine neue interaktive Funktion anzeigen. Außerdem können Sie benutzerdefinierte Messwerte für diese benutzerdefinierten Code-Traces erstellen, um Ereignisse zu zählen, die Sie in diesen Traces definieren (z. B. Cache-Treffer).
Erhebliche Änderungen bei der App-Leistung erkennen
Das Erkennen und Beheben schwerwiegender App-Leistungsprobleme wie Netzwerkausfälle ist entscheidend für den Erfolg Ihrer App. Mithilfe des Leistungsmonitorings können Sie Benachrichtigungen für die wichtigsten Teile Ihrer App einrichten und anpassen, damit Sie Leistungsprobleme erkennen und beheben können, bevor sie sich auf Ihre Nutzer auswirken.
Funktionsweise
Wenn Sie das Performance Monitoring SDK hinzufügen, beginnt Firebase automatisch, Daten zu erheben.
Daten für verschiedene gängige Prozesse in Ihrer App, zum Beispiel:
Performance Monitoring verwendet Traces, um Daten zu diesen Prozessen zu erfassen. Ein Trace ist
einen Bericht mit Daten, die zwischen zwei Zeitpunkten in Ihrer App erfasst wurden.
Die gesammelten Leistungsdaten für jeden Trace werden als Messwerte bezeichnet und variieren
je nach Trace-Typ. Wenn beispielsweise eine Instanz Ihrer App eine Netzwerkanfrage stellt, werden im Trace Messwerte erfasst, die für das Überwachen von Netzwerkanfragen wichtig sind, z. B. Antwortzeit und Payload-Größe.
Jedes Mal, wenn eine Instanz Ihrer App einen überwachten Prozess ausführt, wird der zugehörige Trace
Außerdem werden automatisch Attributdaten für diese App-Instanz erhoben. Für
Wenn beispielsweise eine Android-App eine Netzwerkanfrage ausgibt, erfasst das Trace
Gerät, App-Version und andere Attribute für diese spezifische App-Instanz. Ich
können Sie mit diesen Attributen Ihre Leistungsdaten filtern und herausfinden, ob bestimmte
Bei Nutzersegmenten treten Probleme auf.
Die sofort einsatzbereiten Traces von Performance Monitoring erleichtern Ihnen den Einstieg in das Monitoring Ihres
um etwas über die Leistung bestimmter Aufgaben oder Abläufe zu erfahren,
Ihre eigenen benutzerdefinierten Code-Traces instrumentieren
in Ihrer App.
Vorgehensweise bei der Implementierung
Der App das Performance Monitoring SDK hinzufügen
Du kannst deiner App das Performance Monitoring SDK zusammen mit anderen
Firebase-Produkte, die Sie in Ihrer App verwenden möchten. Apple-Plattformen |
Android |
Web |
Flutter
(Optional)
Benutzerdefinierte Code-Traces und benutzerdefinierte Messwerte in Ihrer Anwendung instrumentieren
Leistungsdaten in der Console in Echtzeit beobachten
Im
Firebase-Konsole,
können Sie die Leistungsdaten Ihrer Nutzer beobachten, um die spezifischen
in denen Sie die Leistung Ihrer App verbessern können. Sie können auch
schlüsseln Sie die Leistungsdaten
Attribute wie App-Version
Land, Gerät oder Betriebssystem.
Nutzerdaten
Performance Monitoring speichert keine personenbezogenen Daten dauerhaft
Informationen wie Namen, E-Mail-Adressen oder Telefonnummern. Beim Monitoring
HTTP-Netzwerkanfragen: Performance Monitoring verwendet URLs (URL-Parameter werden nicht berücksichtigt)
zum Erstellen aggregierter und anonymer URL-Muster,
die dauerhaft beibehalten werden.
und in der Firebase-Konsole angezeigt.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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)."]]