Skip to main content

View Logs and Dashboards

The platform sets up logs, metrics, dashboards and a baseline set of alerts. You install no agents. Use the Google Cloud console of the project for your environment.

Find the logs​

In Logs Explorer, filter by resource type:

# Cloud Run service
resource.type="cloud_run_revision"
resource.labels.service_name="your-application-name"

# GKE container
resource.type="k8s_container"
resource.labels.project_id="your-gcp-project-id"
resource.labels.container_name="your-application-name"

# Compute Engine VM (the Ops Agent collects the logs)
resource.type="gce_instance"
resource.labels.instance_id="your-vm-instance-id"

Write application logs to stdout or stderr as structured JSON. Cloud Logging reads the fields into jsonPayload. You can then filter on your own fields, for example jsonPayload.userId="...".

Dashboards​

The platform creates dashboards for each project. Each name starts with the project name:

  • [Project Name] - GKE Cluster Health
  • [Project Name] - Cloud Run Service Performance
  • [Project Name] - [Database Name] - Performance
  • [Project Name] - [Ingress Name] - Load Balancer Metrics

Alerts​

The platform sets up baseline alerts for high error rate, high latency and resource exhaustion. Notifications go to the people named in the permissions block of the project.

note

The Monitoring and Alerting manifest kinds are in the schema, but no executor reads them. They provision nothing. For custom alerts, create alert policies in Google Cloud directly.