tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 Cloud Platforms > Google Cloud Platform (GCP) > Cloud Monitoring

Cloud Monitoring

Author: Venkata Sudhakar

Google Cloud Monitoring provides full-stack monitoring, observability, and alerting for GCP services, third-party systems, and custom applications. It collects metrics, events, and metadata from GCP, AWS, hosted uptime probes, and application instrumentation.

Key Features:

1. 1500+ built-in metrics - Automatic metrics collection for GCP services (VMs, databases, load balancers).

2. Custom metrics - Define and report custom application metrics via the Monitoring API or OpenTelemetry.

3. Dashboards - Create custom dashboards with charts, scorecards, and tables.

4. Alerting - Set up alert policies with multiple notification channels (email, PagerDuty, Slack, Pub/Sub).

5. Uptime checks - Monitor HTTP/HTTPS, TCP, or gRPC endpoints from multiple global locations.

The below example shows how to create a custom metric and write data points using the Java client library.


It gives the following output,

Created custom metric descriptor: custom.googleapis.com/my_app/active_users
Written metric: active_users = 1250

Alert Policy Notification Channels:

Email - Send alert notifications to individual or group email addresses.

PagerDuty/OpsGenie - Integrate with incident management platforms for on-call alerting.

Slack - Post alerts to Slack channels for team visibility.

Pub/Sub - Publish alerts to a topic for automated remediation workflows.


 
  


  
bl  br