Google Cloud Monitoring Dashboard Samples
repository·master·Indexed 20 days ago
https://github.com/googlecloudplatform/monitoring-dashboard-samplesA collection of sample JSON configurations for Google Cloud Monitoring Dashboards, including alert policies for Active Directory, ActiveMQ, Aerospike, Apache, Airflow, Argo Server, Cassandra, and Couchbase. The repository also provides the cloud-monitoring-dashboard-importer CLI tool (v1.0.0) for converting Grafana Dashboards to Google Cloud Monitoring Dashboards.
What's inside monitoring-dashboard-samples
- This directory contains Alert Policy Templates specifically designed for the Google Kubernetes Engine (GKE) product. These templates are maintained by the Cloud Monitoring FSM Engineering team and are intended for development and reference purposes.
Overview of Node Exporter Alerts for GKE
masterThese alert policies are designed for GKE nodes using Node Exporter to monitor three critical resource thresholds:
- High CPU Usage alert: Triggers when CPU usage is high, indicating potential performance degradation due to excessive workloads.
- Low available memory alert: Triggers when available memory is low, which may prevent GKE from assigning new pods to the node.
- Low filesystem space alert: Triggers when filesystem space is low, which may prevent GKE from assigning new pods to the node.
Use Azure Virtual Machine dashboards built with BindPlane
masterThis directory provides Cloud Monitoring dashboard JSON configurations for Azure Virtual Machines. These dashboards are specifically designed to work with metrics collected via BindPlane.
There are two available dashboard configurations:
- Azure Virtual Machines - OS Metrics (
os.json): Contains 13 charts focusing on OS-level performance, such asDisk Queue Depth,Disk Read/Write Data,Disk Read/Write Operations,CPU Utilization, andNetwork In/Out. - Azure Virtual Machines Overview (
overview.json): Contains 7 widgets providing a high-level overview, includingCPU Credits Consumed,CPU Credits Remaining,Network Received,Disk Read/Writes,CPU Utilization, andNetwork Sent.
- Azure Virtual Machines - OS Metrics (
Flink Alerting Policies for Ops Agent
masterThis set of alerts is designed for Apache Flink workloads monitored via the Google Cloud Ops Agent. It covers job stability, checkpoint health, and JVM memory utilization.
Important: For any of these alerts to be useful, you must configure a Notification Channel in Cloud Monitoring, otherwise, the alerts will fire silently without notifying you.
Available Google Home Analytics Dashboards
masterThis directory contains several JSON dashboard configurations for monitoring Google Home metrics. Depending on your integration type (Cloud, Local, or Matter) or specific hardware needs (Camera Quality), you should select the corresponding JSON file for import into Cloud Monitoring.
Dashboard Types and Metrics
- Google Home Analytics: General Google Assistant metrics including Fulfillment, Report State Success Rate, Hardware and Software Version, and User Breakdown.
- File:
google-home-analytics.json
- File:
- Google Home Analytics - Cloud Integration: Metrics for Cloud-based Google Assistant integrations including Fulfillment, Hardware and Software Version, and User Breakdown.
- File:
google-home-cloud-analytics.json
- File:
- Google Home Analytics - Local Integration: Metrics for Local Google Assistant integrations including Fulfillment, Events, Hardware and Software Version, and User Breakdown.
- File:
google-home-local-analytics.json
- File:
- Google Home Analytics - Matter Integration: Metrics for Matter-based Google Assistant integrations including Fulfillment, Commissioning, Hardware and Software Version, and User Breakdown.
- File:
google-home-matter-analytics.json
- File:
- Google Home Analytics - Camera Quality: Camera Stream specific metrics including Fulfillment, WebRTC Stream, and WebRTC Frame Drop Rate.
- File:
google-home-camera-analytics.json
- File:
- Google Home Analytics: General Google Assistant metrics including Fulfillment, Report State Success Rate, Hardware and Software Version, and User Breakdown.
Available Microservices Monitoring Dashboards
masterThis directory contains several JSON-based dashboard configurations designed for monitoring microservices architectures, specifically modeled after the Google Cloud Microservices Demo.
Dashboard Options
- CartService Monitoring (
cart-service-monitoring.json): Contains 7 charts focusing on thecart service. It tracks resource utilization and bytes transmitted. - MicroService Monitoring (
micro-service-monitoring.json): Contains 8 charts providing a broader view of the microservices. It tracks request counts, response latencies, and request/response bytes. - UseCase(payment) Monitoring (
usecase-payment-monitoring.json): Contains 16 charts demonstrating a specific business flow (payment).- The first 15 charts monitor the load balancer and all related microservices in the payment scenario.
- The final chart monitors application errors using a log-based metric.
- CartService Monitoring (
Kube State Alerts for GKE
masterThis set of alert policies monitors the state of Google Kubernetes Engine (GKE) clusters to identify common operational issues. It includes alerts for Job failures, Pod Disruption Budget (PDB) violations, and Volume capacity issues.Understand NGINX Ingress Controller alerts for GKE
masterThis sample provides alert configurations for the NGINX Ingress Controller running on Google Kubernetes Engine (GKE). It covers three primary alert types based on connection and request metrics:
- Connections dropped alert: Monitors the difference between connections accepted and connections handled. A rising value suggests resource saturation.
- High request rate alert: Monitors spikes in traffic using a 5-minute request rate interval. Use the
thresholdValueto define what constitutes a spike for your specific workload. - Low request rate alert: Monitors for drops in traffic using a 5-minute request rate interval. Use the
thresholdValueto define the baseline for normal operation to detect environment issues limiting requests.
Hadoop alert types in the Ops Agent
masterThe Hadoop monitoring samples include three primary alert types designed for use with the Ops Agent:
- Low available capacity alert: Triggers when total disk space usage across all HDFS clusters exceeds 80% of the capacity limit. This indicates a need to increase capacity.
- Volume failure alert: Triggers when a hardware failure occurs on a volume. While replication typically prevents data loss, this alert signals that hardware needs replacement.
- Dead data nodes alert: Triggers when a data node becomes unresponsive. This can cause network congestion as the NameNode attempts to re-replicate lost blocks. Multiple dead nodes may lead to data loss.
RabbitMQ Alerts for Ops Agent
masterThis sample provides alerting policies for RabbitMQ metrics collected via the Google Cloud Ops Agent. It covers three primary scenarios to monitor RabbitMQ health and performance.Alerts for Oracle Database in Ops Agent
masterThis sample provides alert policies for monitoring Oracle Database instances running with the Google Cloud Ops Agent. It covers three critical utilization metrics to prevent service interruptions: session limits, tablespace capacity, and process limits.ActiveMQ Alerts for Ops Agent Overview
masterThis set of monitoring policies is designed for ActiveMQ brokers running with the Google Cloud Ops Agent. It provides alerting for critical storage and connectivity thresholds that can impact message production and client connectivity.