Google Cloud Monitoring Dashboard Samples

repository·master·Indexed 20 days ago

https://github.com/googlecloudplatform/monitoring-dashboard-samples

A 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.

Tokens
61.3K
Snippets
260
Records
422
Agent score
69%

What's inside monitoring-dashboard-samples

  1. Overview of Node Exporter Alerts for GKE

    master

    These alert policies are designed for GKE nodes using Node Exporter to monitor three critical resource thresholds:

    1. High CPU Usage alert: Triggers when CPU usage is high, indicating potential performance degradation due to excessive workloads.
    2. Low available memory alert: Triggers when available memory is low, which may prevent GKE from assigning new pods to the node.
    3. Low filesystem space alert: Triggers when filesystem space is low, which may prevent GKE from assigning new pods to the node.
  2. Use Azure Virtual Machine dashboards built with BindPlane

    master

    This 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:

    1. Azure Virtual Machines - OS Metrics (os.json): Contains 13 charts focusing on OS-level performance, such as Disk Queue Depth, Disk Read/Write Data, Disk Read/Write Operations, CPU Utilization, and Network In/Out.
    2. Azure Virtual Machines Overview (overview.json): Contains 7 widgets providing a high-level overview, including CPU Credits Consumed, CPU Credits Remaining, Network Received, Disk Read/Writes, CPU Utilization, and Network Sent.
  3. Available Google Home Analytics Dashboards

    master

    This 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
    • 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
    • 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
    • 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
    • Google Home Analytics - Camera Quality: Camera Stream specific metrics including Fulfillment, WebRTC Stream, and WebRTC Frame Drop Rate.
      • File: google-home-camera-analytics.json
  4. Available Microservices Monitoring Dashboards

    master

    This 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 the cart 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.
  5. Understand NGINX Ingress Controller alerts for GKE

    master

    This 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:

    1. Connections dropped alert: Monitors the difference between connections accepted and connections handled. A rising value suggests resource saturation.
    2. High request rate alert: Monitors spikes in traffic using a 5-minute request rate interval. Use the thresholdValue to define what constitutes a spike for your specific workload.
    3. Low request rate alert: Monitors for drops in traffic using a 5-minute request rate interval. Use the thresholdValue to define the baseline for normal operation to detect environment issues limiting requests.
  6. Hadoop alert types in the Ops Agent

    master

    The Hadoop monitoring samples include three primary alert types designed for use with the Ops Agent:

    1. 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.
    2. 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.
    3. 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.