mon

Cloud Monitoring

ManagementGCP
General

General information about the service.

Description

Google Cloud Monitoring provides visibility into the performance, availability, and health of your applications and infrastructure.

Service ID

monitoring.googleapis.com

Resource Pattern

projects/{project}/alertPolicies/{policy}

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

mon-{workload}-{environment}

Length

1-63

Valid Characters

Lowercase letters, numbers, hyphens

Scope

project

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "google_monitoring_alert_policy" "main" {
2 display_name = "mon-${var.environment}"
3 combiner = "OR"
4
5 conditions {
6 display_name = "CPU utilization"
7 condition_threshold {
8 filter = "metric.type=\"compute.googleapis.com/instance/cpu/utilization\""
9 duration = "60s"
10 comparison = "COMPARISON_GT"
11 threshold_value = 0.8
12 }
13 }
14}
Utilities

Utilities to support app deployment or configuration.