Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Front-end monitoring

Hi,

Considering GCP Cloud Logging and Error Reporting are focused on back-end monitoring, what do you guys suggest for error handling and monitoring on the front-end?

0 3 4,621
3 REPLIES 3

Hi,

Can you please specify what you mean with the front end errors with examples?  do you mean HTML error? or permission error? . You can see logs in the application logs.

Also you can check Cloud Monitoring [1] which collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation. 

[1] https://cloud.google.com/monitoring

@Oubi , I understand front-end might mean a different thing in GCP infrastructure context, but for software development applications, front-end usually refers to the client-side application (HTML, React, Angular, etc), and backend to the API side (Java, Nodejs, Python, etc).

 

When the client (via web-browser) tries to fetch some data from the backend and something wrong is caught at the client-side, we need to be aware of it. That's what we call front-end monitoring

Thank you for the clarification.

Firebase analytics - Log Events [1] provides insight on what is happening in your app, such as user actions, system events, or errors.

Also, you can check DebugView [2] which enables you to see the raw event data logged by your app on development devices in near real-time. 

[1] https://firebase.google.com/docs/analytics/events?platform=web

[2] https://firebase.google.com/docs/analytics/debugview