Questa pagina fornisce suggerimenti per la risoluzione dei problemi per iniziare con il monitoraggio delle prestazioni o utilizzare le funzionalità e gli strumenti di monitoraggio delle prestazioni.
Primi controlli per la risoluzione dei problemi
I due controlli seguenti sono best practice generali consigliate a chiunque prima di un'ulteriore risoluzione dei problemi.
1. Controllare i messaggi di registro per gli eventi relativi alle prestazioni
Controlla i messaggi di registro per assicurarti che l'SDK di monitoraggio delle prestazioni stia acquisendo gli eventi delle prestazioni.
Abilita la registrazione di debug, come segue:
- In Xcode (versione minima 13.3.1), seleziona Prodotto > Schema > Modifica schema .
- Seleziona Esegui dal menu a sinistra, quindi seleziona la scheda Argomenti .
- Nella sezione Argomenti trasmessi all'avvio , aggiungi
-FIRDebugEnabled
.
Controlla i tuoi messaggi di registro per eventuali messaggi di errore.
Il monitoraggio delle prestazioni contrassegna i suoi messaggi di registro con
Firebase/Performance
in modo da poter filtrare i messaggi di registro.Verificare la presenza dei seguenti tipi di log che indicano che il monitoraggio delle prestazioni sta registrando gli eventi delle prestazioni:
-
Logging trace metric: TRACE_NAME , FIREBASE_PERFORMANCE_CONSOLE_URL
-
Logging network request trace: URL
-
Fai clic sull'URL per visualizzare i tuoi dati nella console Firebase. L'aggiornamento dei dati nella dashboard potrebbe richiedere alcuni istanti.
Se la tua app non registra gli eventi relativi alle prestazioni, consulta i suggerimenti per la risoluzione dei problemi .
2. Controlla la dashboard di stato di Firebase
Controlla la dashboard di stato di Firebase nel caso in cui si verifichi un'interruzione nota per Firebase o per il monitoraggio delle prestazioni.
Introduzione al monitoraggio delle prestazioni
Se stai iniziando a utilizzare il monitoraggio delle prestazioni ( iOS+ | Android | Web ), i seguenti suggerimenti per la risoluzione dei problemi possono aiutarti con i problemi che coinvolgono Firebase nel rilevare l'SDK o nella visualizzazione dei tuoi primi dati sulle prestazioni nella console di Firebase.
Firebase è in grado di rilevare se hai aggiunto correttamente l'SDK di monitoraggio delle prestazioni alla tua app quando riceve informazioni sugli eventi (come le interazioni dell'app) dalla tua app. Di solito entro 10 minuti dall'avvio dell'app, la dashboard delle prestazioni della console Firebase visualizza un messaggio "SDK rilevato". Quindi, entro 30 minuti, la dashboard visualizza i dati elaborati inizialmente.
Se sono trascorsi più di 10 minuti da quando hai aggiunto l'ultima versione dell'SDK alla tua app e continui a non vedere alcuna modifica, controlla i messaggi di log per assicurarti che il monitoraggio delle prestazioni stia registrando gli eventi. Prova i passaggi di risoluzione dei problemi appropriati come descritto di seguito per risolvere un messaggio di rilevamento ritardato dell'SDK.
Se stai ancora sviluppando localmente, prova a generare più eventi per la raccolta dati:
Continua a sviluppare la tua app utilizzando un simulatore o un dispositivo di test.
Genera eventi spostando più volte la tua app dallo sfondo al primo piano, interagendo con la tua app navigando tra le schermate e/o attivando richieste di rete.
Assicurati che il tuo file di configurazione Firebase (
Google-Service-Info.plist
) sia stato aggiunto correttamente alla tua app e che non hai modificato il file. In particolare, controlla quanto segue:Il nome del file di configurazione non viene aggiunto con caratteri aggiuntivi, come
(2)
.Il file di configurazione si trova nella radice del progetto XCode e viene aggiunto alle destinazioni corrette.
L'ID app Firebase Apple (
GOOGLE_APP_ID
) elencato nel file di configurazione è corretto per la tua app. Trova il tuo ID app Firebase nella scheda Le tue app delle Impostazioni progetto .
Se qualcosa sembra sbagliato con il file di configurazione nella tua app, prova quanto segue:
Elimina il file di configurazione che hai attualmente nella tua app.
Segui queste istruzioni per scaricare un nuovo file di configurazione e aggiungerlo alla tua app Apple.
Se l'SDK sta registrando eventi e tutto sembra essere configurato correttamente, ma continui a non visualizzare il messaggio di rilevamento dell'SDK o i dati elaborati (dopo 2 ore), contatta l'assistenza di Firebase .
Assicurati che l' SDK di monitoraggio delle prestazioni non sia disabilitato tramite uno dei seguenti flag nel file
Info.plist
:-
firebase_performance_collection_enabled
-
firebase_performance_collection_deactivated
-
Assicurati che il monitoraggio delle prestazioni non sia disabilitato in fase di esecuzione ( Swift | Obj-C ).
Se non riesci a trovare nulla che sia disabilitato nella tua app, contatta l'assistenza di Firebase .
Il monitoraggio delle prestazioni elabora i dati degli eventi relativi alle prestazioni prima di visualizzarli nel dashboard delle prestazioni .
Se sono trascorse più di 24 ore da quando è apparso il messaggio "SDK rilevato" e continui a non visualizzare i dati, controlla la Firebase Status Dashboard nel caso in cui sia nota un'interruzione. Se non si verificano interruzioni, contatta l'assistenza Firebase .
Risoluzione dei problemi generali
Se hai aggiunto correttamente l'SDK e stai utilizzando il monitoraggio delle prestazioni nella tua app, i seguenti suggerimenti per la risoluzione dei problemi possono aiutarti con problemi generali che coinvolgono le funzionalità e gli strumenti di monitoraggio delle prestazioni.
Se non visualizzi i messaggi di registro per gli eventi relativi alle prestazioni , prova i seguenti passaggi per la risoluzione dei problemi:
Assicurati che l' SDK di monitoraggio delle prestazioni non sia disabilitato tramite uno dei seguenti flag nel file
Info.plist
:-
firebase_performance_collection_enabled
-
firebase_performance_collection_deactivated
-
Assicurati che il monitoraggio delle prestazioni non sia disabilitato in fase di esecuzione ( Swift | Obj-C ).
Se non riesci a trovare nulla che sia disabilitato nella tua app, contatta l'assistenza di Firebase .
Se mancano i dati per le tracce di rendering dello schermo, prova i seguenti passaggi per la risoluzione dei problemi:
Assicurati di utilizzare l'ultima versione dell'SDK per piattaforme Apple (v10.6.0). Le tracce di rendering dello schermo sono disponibili solo con la versione 5.0.0 o successiva.
Il monitoraggio delle prestazioni non crea tracce di rendering dello schermo per i controller di visualizzazione del contenitore (come
UINavigationController
eUITabBarController
). Se i dati mancano solo per queste schermate, si tratta del comportamento previsto.
Vengono visualizzati i dati sulle prestazioni per le tracce raccolte automaticamente ma non per le tracce del codice personalizzato ? Prova i seguenti passaggi per la risoluzione dei problemi:
Controlla l'impostazione delle tracce di codice personalizzate strumentate tramite l' API Trace , in particolare quanto segue:
- I nomi per le tracce del codice personalizzato e le metriche personalizzate devono soddisfare i seguenti requisiti: nessuno spazio bianco iniziale o finale, nessun carattere di sottolineatura iniziale (
_
) e la lunghezza massima è di 32 caratteri. - Tutte le tracce devono essere avviate e arrestate. Qualsiasi traccia non avviata, non arrestata o arrestata prima dell'avvio non verrà registrata.
- I nomi per le tracce del codice personalizzato e le metriche personalizzate devono soddisfare i seguenti requisiti: nessuno spazio bianco iniziale o finale, nessun carattere di sottolineatura iniziale (
Controlla i messaggi di registro per assicurarti che Performance Monitoring stia registrando le tracce del codice personalizzato previste.
Se il monitoraggio delle prestazioni sta registrando gli eventi, ma non vengono visualizzati dati dopo 24 ore, contatta l'assistenza Firebase .
Se ti mancano i dati delle richieste di rete, prova i seguenti passaggi per la risoluzione dei problemi:
Verificare l'incompatibilità della libreria di rete. Il monitoraggio delle prestazioni raccoglie automaticamente le metriche per le richieste di rete che utilizzano le seguenti librerie di rete:
- Per Swift: URLSession e URLConnection
- Per Objective-C: NSURLSession e NSURLConnection
Tieni presente che puoi aggiungere un monitoraggio personalizzato per le richieste di rete .
Tieni presente quanto segue:
A seconda del comportamento del codice e delle librerie di rete utilizzate dal codice, il monitoraggio delle prestazioni potrebbe segnalare solo le richieste di rete completate. Ciò significa che le connessioni HTTP/S lasciate aperte potrebbero non essere segnalate.
Il monitoraggio delle prestazioni non segnala le richieste di rete con intestazioni
Content-Type
non valide. Tuttavia, le richieste di rete senza le intestazioniContent-Type
verranno comunque accettate.
Ulteriori informazioni su come il monitoraggio delle prestazioni aggrega i dati delle richieste di rete nei pattern URL.
Puoi anche provare pattern URL personalizzati !
FAQ
Abbiamo sostituito i problemi principali con gli avvisi recenti in seguito alla nostra recente introduzione degli avvisi, che ti avvisano automaticamente quando vengono superate le soglie impostate. I problemi sono ora obsoleti e sostituiti da avvisi.
Il selettore delle app nella parte superiore della scheda Prestazioni filtra le voci di avviso in Avvisi recenti . Vengono visualizzati solo i tre avvisi più recenti per le app selezionate.
Per ulteriori informazioni sugli avvisi, consulta Impostare avvisi per problemi di prestazioni .
Il monitoraggio delle prestazioni supporta gli avvisi per le metriche che superano le soglie definite. Per evitare confusione con queste soglie configurabili per le metriche delle prestazioni, abbiamo rimosso la possibilità di configurare le soglie per i problemi .
Abbiamo sostituito le pagine Dettagli e Metriche con un'interfaccia utente (UI) centralizzata e riprogettata per migliorare la risoluzione dei problemi. Questa nuova interfaccia utente per la risoluzione dei problemi offre le stesse funzionalità di base offerte da Dettagli e Metriche. Per ulteriori informazioni sulla risoluzione dei problemi, vedere Visualizzare più dati per una traccia specifica .
Il monitoraggio delle prestazioni raccoglie i dati sulle prestazioni dai dispositivi degli utenti della tua app. Se l'applicazione ha molti utenti o se l'app genera una grande quantità di attività delle prestazioni, il monitoraggio delle prestazioni potrebbe limitare la raccolta dei dati a un sottoinsieme di dispositivi per ridurre il numero di eventi elaborati. Questi limiti sono sufficientemente elevati in modo che, anche con un minor numero di eventi, i valori della metrica siano comunque rappresentativi dell'esperienza con l'app dell'utente.
Per gestire il volume di dati che raccogliamo, il monitoraggio delle prestazioni utilizza le seguenti opzioni di campionamento:
Limitazione della velocità sul dispositivo : per evitare che un dispositivo invii picchi improvvisi di tracce, limitiamo il numero di tracce di codici e richieste di rete inviate da un dispositivo a 300 eventi ogni 10 minuti. Questo approccio protegge il dispositivo da strumentazioni in loop che possono inviare grandi quantità di dati sulle prestazioni e impedisce a un singolo dispositivo di distorcere le misurazioni delle prestazioni.
Campionamento dinamico : il monitoraggio delle prestazioni raccoglie circa 100 milioni di eventi per le tracce del codice e 100 milioni per le tracce delle richieste di rete per app tra tutti gli utenti dell'app. Una frequenza di campionamento dinamica viene recuperata sui dispositivi (utilizzando Firebase Remote Config) per determinare se un dispositivo casuale deve acquisire e inviare tracce. Un dispositivo non selezionato per il campionamento non invia alcun evento. La frequenza di campionamento dinamica è specifica dell'app e si regola per garantire che il volume complessivo dei dati raccolti rimanga al di sotto del limite.
Le sessioni utente inviano dati aggiuntivi e dettagliati dal dispositivo di un utente, richiedendo più risorse per acquisire e inviare i dati. Per ridurre al minimo l'impatto delle sessioni utente, il monitoraggio delle prestazioni potrebbe anche limitare il numero di sessioni.
Limitazione della frequenza lato server : per garantire che le app non superino il limite di campionamento, il monitoraggio delle prestazioni potrebbe utilizzare il campionamento lato server per eliminare alcuni eventi ricevuti dai dispositivi. Sebbene questo tipo di limitazione non influisca sull'efficacia delle nostre metriche, potrebbe causare variazioni minori del pattern, tra cui:
- Il numero di tracce può differire dal numero di volte in cui è stata eseguita una parte di codice.
- Le tracce strettamente accoppiate nel codice possono avere ciascuna un numero diverso di campioni.
Abbiamo sostituito la scheda Problemi con l'introduzione degli Avvisi, che ti avvisano automaticamente quando le soglie impostate vengono superate. Non è più necessario controllare manualmente la console Firebase per determinare lo stato di una soglia. Per informazioni sugli avvisi, consulta Impostare avvisi per problemi di prestazioni .
Abbiamo riprogettato la sezione Monitoraggio delle prestazioni della console Firebase in modo che la scheda Dashboard mostri le tue metriche chiave e tutte le tue tracce in un unico spazio. Nell'ambito della riprogettazione, abbiamo rimosso le pagine Sul dispositivo e Rete .
La tabella delle tracce nella parte inferiore della scheda Dashboard contiene tutte le stesse informazioni visualizzate nelle schede Sul dispositivo e Rete , ma con alcune funzionalità aggiuntive, inclusa la possibilità di ordinare le tracce in base alla variazione percentuale per una metrica specifica. Per visualizzare tutte le metriche e i dati per una traccia specifica, fare clic sul nome della traccia nella tabella delle tracce.
Visualizza le tue tracce nelle seguenti sottoschede della tabella delle tracce:
- Tracce delle richieste di rete (sia predefinite che personalizzate): sottoscheda Richieste di rete
- Tracce codice personalizzato: sottoscheda Tracce personalizzate
- Tracce avvio app, app in primo piano, app in background: sottoscheda Tracce personalizzate
- Tracce di rendering dello schermo: sottoscheda Rendering dello schermo
- Tracce caricamento pagina: sottoscheda Caricamento pagina
Per informazioni dettagliate sulla tabella delle tracce e sulla visualizzazione di metriche e dati, visitare la pagina della panoramica della console ( iOS+ | Android | Web ).
I fotogrammi di rendering lenti e i fotogrammi congelati vengono calcolati con una frequenza di aggiornamento del dispositivo presunta di 60Hz. Se la frequenza di aggiornamento di un dispositivo è inferiore a 60 Hz, ogni fotogramma avrà un tempo di rendering più lento perché viene eseguito il rendering di un numero inferiore di fotogrammi al secondo. Tempi di rendering più lenti possono causare la segnalazione di fotogrammi più lenti o congelati perché più fotogrammi verranno renderizzati più lentamente o si bloccheranno. Tuttavia, se la frequenza di aggiornamento di un dispositivo è superiore a 60 Hz, ogni fotogramma avrà un tempo di rendering più rapido. Ciò può causare la segnalazione di un minor numero di frame lenti o bloccati. Questa è una limitazione corrente nell'SDK di monitoraggio delle prestazioni.
Se hai abilitato l'integrazione di BigQuery per il monitoraggio delle prestazioni di Firebase, i tuoi dati verranno esportati in BigQuery da 12 a 24 ore dopo la fine della giornata (ora del Pacifico).
Ad esempio, i dati per il 19 aprile saranno disponibili in BigQuery il 20 aprile tra le 12:00 e mezzanotte (tutte le date e gli orari sono Pacific Time).
Near real-time data processing and display
Firebase Performance Monitoring processes collected performance data as it comes in, which results in near real-time data display in the Firebase console. Processed data displays in the console within a few minutes of its collection, hence the term "near real-time".
To take advantage of near real-time data processing, make sure your app uses a real-time compatible SDK version .
To take advantage of near real-time data processing, you only need to make sure that your app uses a Performance Monitoring SDK version that's compatible with real-time data processing.
These are the real-time compatible SDK versions:
- iOS — v7.3.0 or later
- tvOS — v8.9.0 or later
- Android — v19.0.10 or later (or Firebase Android BoM v26.1.0 or later)
- Web — v7.14.0 or later
Note that we always recommend using the latest version of SDK, but any version listed above will enable Performance Monitoring to process your data in near real time.
These are the SDK versions compatible with real-time data processing:
- iOS — v7.3.0 or later
- tvOS — v8.9.0 or later
- Android — v19.0.10 or later (or Firebase Android BoM v26.1.0 or later)
- Web — v7.14.0 or later
Note that we always recommend using the latest version of SDK, but any version listed above will enable Performance Monitoring to process your data in near real time.
If your app doesn't use a real-time compatible SDK version, you will still see all your app's performance data in the Firebase console. However, the display of performance data will be delayed by roughly 36 hours from the time of its collection.
Yes! Regardless of which SDK version an app instance uses, you'll see performance data from all your users.
However, if you're looking at recent data (less than roughly 36 hours old), then the displayed data is from users of app instances using a real-time compatible SDK version. The non-recent data, though, includes performance data from all versions of your app.
Contacting Firebase Support
If you reach out to Firebase Support , always include your Firebase App ID. Find your Firebase App ID in the Your apps card of your Project settings .
,This page provides troubleshooting tips for getting started with Performance Monitoring or using Performance Monitoring features and tooling.
First checks for troubleshooting
The following two checks are general best practices recommended for anyone before further troubleshooting.
1. Check log messages for performance events
Check your log messages to be sure that the Performance Monitoring SDK is capturing performance events.
Enable debug logging, as follows:
- In Xcode (minimum v13.3.1), select Product > Scheme > Edit scheme .
- Select Run from the left menu, then select the Arguments tab.
- In the Arguments Passed on Launch section, add
-FIRDebugEnabled
.
Check your log messages for any error messages.
Performance Monitoring tags its log messages with
Firebase/Performance
so that you can filter your log messages.Check for the following types of logs which indicate that Performance Monitoring is logging performance events:
-
Logging trace metric: TRACE_NAME , FIREBASE_PERFORMANCE_CONSOLE_URL
-
Logging network request trace: URL
-
Click on the URL to view your data in the Firebase console. It may take a few moments for the data to update in the dashboard.
If your app isn't logging performance events, review the troubleshooting tips .
2. Check the Firebase Status Dashboard
Check the Firebase Status Dashboard in case there is a known outage for Firebase or for Performance Monitoring.
Getting started with Performance Monitoring
If you're getting started with Performance Monitoring ( iOS+ | Android | Web ), the following troubleshooting tips can help with issues that involve Firebase detecting the SDK or displaying your first performance data in the Firebase console.
Firebase can detect if you've successfully added the Performance Monitoring SDK to your app when it receives event information (like app interactions) from your app. Usually within 10 minutes of starting your app, the Performance dashboard of the Firebase console displays an "SDK detected" message. Then, within 30 minutes, the dashboard displays the initial processed data.
If it's been more than 10 minutes since you added the latest version of SDK to your app, and you're still not seeing any change, check your log messages to make sure that Performance Monitoring is logging events. Try the appropriate troubleshooting steps as described below to troubleshoot a delayed SDK detection message.
If you're still developing locally, try generating more events for data collection:
Continue to develop your app using a simulator or test device.
Generate events by switching your app between background and foreground several times, interacting with your app by navigating across screens, and/or triggering network requests.
Make sure that your Firebase configuration file (
Google-Service-Info.plist
) is correctly added to your app and that you haven't modified the file. Specifically, check the following:The config file name isn't appended with additional characters, like
(2)
.The config file is in the root of your XCode project and added to the correct targets.
The Firebase Apple App ID (
GOOGLE_APP_ID
) listed in the config file is correct for your app. Find your Firebase App ID in the Your apps card of your Project settings .
If anything seems wrong with the config file in your app, try the following:
Delete the config file that you currently have in your app.
Follow these instructions to download a new config file and add it to your Apple app.
If the SDK is logging events and everything seems to be set up correctly, but you're still not seeing the SDK detection message or processed data (after 2 hours), contact Firebase Support .
Make sure that the Performance Monitoring SDK is not disabled through either of the following flags in your
Info.plist
file:-
firebase_performance_collection_enabled
-
firebase_performance_collection_deactivated
-
Make sure that Performance Monitoring is not disabled at runtime ( Swift | Obj-C ).
If you can't find anything that's disabled in your app, contact Firebase Support .
Performance Monitoring processes performance event data before displaying it in the Performance dashboard .
If it's been more than 24 hours since the "SDK detected" message appeared , and you're still not seeing data, then check the Firebase Status Dashboard in case there is a known outage. If there is no outage, contact Firebase Support .
General troubleshooting
If you've successfully added the SDK and are using Performance Monitoring in your app, the following troubleshooting tips can help with general issues that involve Performance Monitoring features and tooling.
If you're not seeing log messages for performance events , try the following troubleshooting steps:
Make sure that the Performance Monitoring SDK is not disabled through either of the following flags in your
Info.plist
file:-
firebase_performance_collection_enabled
-
firebase_performance_collection_deactivated
-
Make sure that Performance Monitoring is not disabled at runtime ( Swift | Obj-C ).
If you can't find anything that's disabled in your app, contact Firebase Support .
If you're missing data for screen rendering traces, try the following troubleshooting steps:
Make sure that you're using the latest version of the Apple platforms SDK (v10.6.0). Screen rendering traces are only available with v5.0.0 or later.
Performance Monitoring doesn't create screen rendering traces for container view controllers (such as
UINavigationController
andUITabBarController
). If data is only missing for these screens, then this is expected behavior.
Are you seeing performance data for automatically collected traces but not for custom code traces ? Try the following troubleshooting steps:
Check the setup of custom code traces instrumented via the Trace API , especially the following:
- Names for custom code traces and custom metrics must meet the following requirements: no leading or trailing whitespace, no leading underscore (
_
) character, and max length is 32 characters. - All traces must be started and stopped. Any trace that is not started, not stopped, or stopped before started will not be logged.
- Names for custom code traces and custom metrics must meet the following requirements: no leading or trailing whitespace, no leading underscore (
Check your log messages to make sure that Performance Monitoring is logging expected custom code traces.
If Performance Monitoring is logging events, but no data displays after 24 hours, contact Firebase Support .
If you're missing network request data, try the following troubleshooting steps:
Check for network library incompatibility. Performance Monitoring automatically collects metrics for network requests that use the following networking libraries:
- For Swift: URLSession and URLConnection
- For Objective-C: NSURLSession and NSURLConnection
Note that you can add custom monitoring for network requests .
Be aware of the following:
Depending on the behavior of your code and networking libraries used by your code, Performance Monitoring might only report on network requests that are completed. This means that HTTP/S connections that are left open might not be reported.
Performance Monitoring does not report on network requests with invalid
Content-Type
headers. However, network requests without theContent-Type
headers will still be accepted.
Learn more about how Performance Monitoring aggregates network request data under URL patterns.
You can also try out custom URL patterns !
FAQ
We replaced Top Issues with Recent Alerts as a follow-up to our recent introduction of alerts, which automatically notify you when the thresholds you set are crossed. Issues are now deprecated and replaced by alerts.
The apps selector at the top of the Performance card filters the alert entries under Recent Alerts . Only the three most recent alerts for the app(s) selected are displayed.
To learn more about alerts, see Set up alerts for performance issues .
Performance Monitoring supports alerts for metrics that exceed defined thresholds. To avoid confusion with these configurable thresholds for performance metrics, we removed the ability to configure thresholds for issues .
We replaced the Details and Metrics pages with a newly redesigned, centralized user interface (UI) to improve how you troubleshoot issues. This new troubleshooting UI offers the same core functionality that Details and Metrics offered. To learn more about troubleshooting, see View more data for a specific trace .
Performance Monitoring collects performance data from your app's user devices. If your application has many users or if the app generates a large amount of performance activity, Performance Monitoring might limit data collection to a subset of devices to reduce the number of processed events. These limits are high enough so that, even with fewer events, the metric values are still representative of your user's app experience.
To manage the volume of data that we collect, Performance Monitoring uses the following sampling options:
On-device rate limiting : To prevent a device from sending sudden bursts of traces, we limit the number of code and network request traces sent from a device to 300 events every 10 mins. This approach protects the device from looped instrumentations that can send large amounts of performance data, and it prevents a single device from skewing the performance measurements.
Dynamic sampling : Performance Monitoring collects approximately 100M events for code traces and 100M for network request traces per app across all app users. A dynamic sampling rate is fetched on devices (using Firebase Remote Config) to determine whether a random device should capture and send traces. A device that is not selected for sampling does not send any events. The dynamic sampling rate is app-specific and adjusts to ensure that the overall volume of collected data remains below the limit.
User sessions send additional, detailed data from a user's device, requiring more resources to capture and send the data. To minimize the impact of user sessions, Performance Monitoring might also restrict the number of sessions.
Server-side rate limiting : To ensure that apps don't exceed the sampling limit, Performance Monitoring might use server-side sampling to drop some events received from devices. Although this type of limiting doesn't change the effectiveness of our metrics, it may cause minor pattern shifts, including the following:
- The number of traces can differ from the number of times that a piece of code was executed.
- Traces that are closely coupled in code may each have a different number of samples.
We replaced the Issues tab with the introduction of Alerts, which automatically notifies you when the thresholds you set are exceeded. You no longer need to manually check the Firebase console to determine the status of a threshold. To learn about Alerts, see Set up alerts for performance issues .
We've redesigned the Performance Monitoring section of the Firebase console so that the Dashboard tab displays your key metrics and all your traces in one space. As part of the redesign, we removed the On device and Network pages.
The traces table at the bottom of the Dashboard tab has all the same information that the On device and Network tabs displayed, but with some added features, including the ability to sort your traces by the percentage change for a specific metric. To view all the metrics and data for a specific trace, click the trace name in the traces table.
View your traces in the following subtabs of the traces table:
- Network request traces (both out-of-the-box and custom) — Network requests subtab
- Custom code traces — Custom traces subtab
- App start, app-in-foreground, app-in-background traces — Custom traces subtab
- Screen rendering traces — Screen rendering subtab
- Page load traces — Page load subtab
For details about the traces table and viewing metrics and data, visit the console overview page ( iOS+ | Android | Web ).
Slow rendering frames and frozen frames are calculated with an assumed device refresh rate of 60Hz. If a device refresh rate is lower than 60Hz, each frame will have a slower rendering time because fewer frames are rendered per second. Slower rendering times can cause more slow or frozen frames to be reported because more frames will be rendered slower or will freeze. However, if a device refresh rate is higher than 60Hz, each frame will have a faster rendering time. This can cause fewer slow or frozen frames to be reported. This is a current limitation in the Performance Monitoring SDK.
If you have enabled the BigQuery integration for Firebase Performance Monitoring, your data will be exported to BigQuery 12 to 24 hours after the end of the day (Pacific Time).
For example, the data for April 19th will be available in BigQuery on April 20th between 12:00pm and midnight (all dates and times are Pacific Time).
Near real-time data processing and display
Firebase Performance Monitoring processes collected performance data as it comes in, which results in near real-time data display in the Firebase console. Processed data displays in the console within a few minutes of its collection, hence the term "near real-time".
To take advantage of near real-time data processing, make sure your app uses a real-time compatible SDK version .
To take advantage of near real-time data processing, you only need to make sure that your app uses a Performance Monitoring SDK version that's compatible with real-time data processing.
These are the real-time compatible SDK versions:
- iOS — v7.3.0 or later
- tvOS — v8.9.0 or later
- Android — v19.0.10 or later (or Firebase Android BoM v26.1.0 or later)
- Web — v7.14.0 or later
Note that we always recommend using the latest version of SDK, but any version listed above will enable Performance Monitoring to process your data in near real time.
These are the SDK versions compatible with real-time data processing:
- iOS — v7.3.0 or later
- tvOS — v8.9.0 or later
- Android — v19.0.10 or later (or Firebase Android BoM v26.1.0 or later)
- Web — v7.14.0 or later
Note that we always recommend using the latest version of SDK, but any version listed above will enable Performance Monitoring to process your data in near real time.
If your app doesn't use a real-time compatible SDK version, you will still see all your app's performance data in the Firebase console. However, the display of performance data will be delayed by roughly 36 hours from the time of its collection.
Yes! Regardless of which SDK version an app instance uses, you'll see performance data from all your users.
However, if you're looking at recent data (less than roughly 36 hours old), then the displayed data is from users of app instances using a real-time compatible SDK version. The non-recent data, though, includes performance data from all versions of your app.
Contacting Firebase Support
If you reach out to Firebase Support , always include your Firebase App ID. Find your Firebase App ID in the Your apps card of your Project settings .