Implementing Log and Metric Management for a Retail Application

ADVANCED
150 minutes
5 tasks

This hands-on lab challenges you to implement a comprehensive logging and metrics management solution for a digital retail company. Using Google Cloud services like Cloud Logging, Cloud Monitoring, and the Managed Service for Prometheus, you'll configure data ingestion, create actionable dashboards, and set up alerting policies. Learn how to handle sensitive data, optimize logging costs, and create synthetic metrics for operational insights. By the end of the lab, you'll have deep experience managing observability in GCP, preparing you for real-world DevOps challenges and the Professional Cloud DevOps Engineer certification.

Scenario

As part of a digital transformation initiative, a retail company aims to enhance its monitoring capabilities. The key goal is to improve uptime and customer experience by targeting a 99.95% service availability with a response time under 200ms. Your role is to integrate advanced logging and metrics solutions using Google Cloud to achieve these operational objectives efficiently while keeping costs within budget.

Learning Objectives

  • Configure Cloud Logging and ingestion pipelines for various data sources.
  • Optimize and reduce logging costs using exclusion filters and sampling.
  • Implement a metrics collection strategy using Managed Service for Prometheus.
  • Create dashboards and alerting policies to monitor application performance effectively.
  • Integrate managed policies to handle sensitive data securely.

tasks (5)

task 1: Set up Cloud Logging for the Retail App

25 min

task 2: Implement Metrics Collection with Managed Service for Prometheus

40 min

task 3: Create Dashboards and Alerting for Retail Application

35 min

task 4: Ensure Secure Handling of Sensitive Data in Logs

30 min

task 5: Optimize and Audit Log Cost Management

20 min

Prerequisites

  • Basic understanding of log management
  • Familiarity with Cloud Monitoring and Prometheus

Skills Tested

Configuring log ingestion and sinksBuilding actionable dashboardsCreating synthetic monitorsIntegrating external alerting solutions