Cyber Intelligence
Security, Operations, and Governance · Trust and security

L15. Monitoring and Observability: Cloud Monitoring, Logging, Trace, and Error Reporting

Video generating

Check back soon for the video lesson on Monitoring and Observability: Cloud Monitoring, Logging, Trace, and Error Reporting

Google Cloud Operations Suite provides full-stack observability. The Digital Leader exam tests Cloud Monitoring, Cloud Logging, Cloud Trace, and Error Reporting for maintaining system reliability.

Google Cloud Operations Suite

Formerly known as Stackdriver, Google Cloud Operations Suite is the integrated observability platform for Google Cloud and hybrid environments. Four pillars of observability:

  1. Metrics (what happened numerically)
  2. Logs (what events occurred with context)
  3. Traces (how requests flowed through services)
  4. Errors (what went wrong in code)

Cloud Monitoring

Cloud Monitoring collects metrics from Google Cloud services, custom applications, and third-party services. Key features:

  • Pre-built dashboards for all Google Cloud services
  • Custom dashboards and metric explorer
  • Alerting policies: trigger notifications (email, PagerDuty, Slack, etc.) when metrics breach thresholds
  • Uptime checks: synthetic monitoring to verify service availability from multiple locations worldwide
  • SLO monitoring: define and track Service Level Objectives
Metrics are free for Google Cloud services; custom metrics have a charge above a free tier.

Cloud Logging

Cloud Logging collects, stores, and analyzes log data from Google Cloud services and custom applications. Log types:

  • Platform logs: automatically generated by Google Cloud services (Compute Engine, GKE, Cloud SQL)
  • User-defined logs: custom logs written by your applications
  • Audit logs: who did what, when, from where (Admin Activity, Data Access, System Events)
Log Router: route logs to Cloud Storage (long-term archival), BigQuery (analysis), or Pub/Sub (streaming). Log Explorer: search and filter logs in real time using structured queries.

Cloud Trace

Cloud Trace is a distributed tracing system that shows how requests propagate through your application and its dependencies, including latency breakdown. Use for: identifying performance bottlenecks, understanding request flow across microservices.

Error Reporting

Error Reporting aggregates application error messages, groups them, and notifies when error rates spike. Supported languages: Go, Java, Python, Node.js, PHP, Ruby, .NET, C++.

Cloud Profiler

Cloud Profiler continuously gathers CPU and memory usage profiles from production applications to identify performance hotspots without impacting performance.

ServicePrimary Use
Cloud MonitoringMetrics, alerts, dashboards, uptime checks
Cloud LoggingLog collection, analysis, routing
Cloud TraceDistributed request tracing
Error ReportingApplication error aggregation and alerting
Cloud ProfilerCPU/memory performance profiling
Exam tip: Cloud Monitoring = metrics and alerting. Cloud Logging = structured log analysis and Audit Logs. Cloud Trace = latency and request flow tracing for microservices.

Exam Focus Points
  • Cloud Monitoring collects metrics and provides dashboards, alerts, and uptime checks for Google Cloud services
  • Cloud Logging collects platform and user-defined logs; Audit Logs record who did what and when
  • Cloud Trace shows distributed request latency breakdown across microservices to identify bottlenecks
  • Error Reporting aggregates application errors by type and rate, notifying when error rates spike
  • Log Router exports logs to Cloud Storage (archival), BigQuery (analysis), or Pub/Sub (streaming)
Knowledge Check

1. A site reliability engineer wants to receive an alert when the 99th percentile latency of their API exceeds 500ms. Which Google Cloud service should they use?

2. A team is debugging why an API request to their microservices-based application is taking 8 seconds. They need to see the time spent in each individual service. Which tool provides this?

Recommended: Pluralsight

Reinforce these lessons with Pluralsight's Google Cloud paths: structured video courses, GCP console labs, and practice exams for the Digital Leader certification.

Start Digital Leader prep free10-day free trial available