Skip to content

GCP Memorystore for Redis

Collect GCP Memorystore for Redis metrics.

Configuration

Install Func

We recommend enabling TrueWatch Integration - Extensions - Managed Func. All prerequisites are installed automatically; continue with the script installation.

If you deploy Func yourself, see Self-deploying Func.

Install Script

  1. Log in to the Func console, click [Script Market], open the TrueWatch Script Market, and search for integration_gcp_redis.
  2. Click [Install], then enter the required parameters: account file name, Target Principal, and account name.
  3. Click [Deploy Startup Script]. The system automatically creates a Startup script set and configures the corresponding startup script.
  4. After enabling it, find the automatic trigger configuration under "Management / Automatic Trigger Configuration". Click [Execute] to run it immediately, then review the task record and logs.

Verification

  1. Under "Management / Automatic Trigger Configuration", confirm that the task exists and check its task records and logs for errors.
  2. In TrueWatch, check "Infrastructure / Custom" for the corresponding asset information.
  3. In TrueWatch, check "Metrics" for the corresponding measurement and monitoring data.

Metrics

GCP Memorystore for Redis metrics are stored in the gcp_redis measurement. The original metrics come from the Cloud Monitoring redis.googleapis.com/ namespace. The table below lists key metrics; see GCP Memorystore for Redis metrics for the complete metric catalog.

Metric Original Metric Description Data Type Unit
cluster_clients_average_connected_clients cluster/clients/average_connected_clients Connected Clients - Cluster Average GAUGE int
cluster_clients_maximum_connected_clients cluster/clients/maximum_connected_clients Connected Clients - Cluster Maximum GAUGE int
cluster_clients_total_connected_clients cluster/clients/total_connected_clients Connected Clients - Cluster Total GAUGE int
cluster_cpu_average_utilization cluster/cpu/average_utilization CPU Utilization - Cluster Average GAUGE float
cluster_cpu_maximum_utilization cluster/cpu/maximum_utilization CPU Utilization - Cluster Maximum GAUGE float
cluster_memory_average_utilization cluster/memory/average_utilization Memory Utilization - Cluster Average GAUGE float
cluster_memory_maximum_utilization cluster/memory/maximum_utilization Memory Utilization - Cluster Maximum GAUGE float
cluster_memory_size cluster/memory/size Total Memory Capacity GAUGE bytes
cluster_memory_total_used_memory cluster/memory/total_used_memory Total Used Memory GAUGE bytes
cluster_node_clients_blocked_clients cluster/node/clients/blocked_clients Node Blocked Clients GAUGE int
cluster_node_clients_connected_clients cluster/node/clients/connected_clients Node Connected Clients GAUGE int
cluster_node_cpu_utilization cluster/node/cpu/utilization Node CPU Utilization GAUGE float
cluster_node_cross_cluster_replication_role cluster/node/cross_cluster_replication_role Node Cross-Cluster Replication Role GAUGE string
cluster_node_memory_usage cluster/node/memory/usage Node Memory Usage GAUGE bytes
cluster_node_memory_utilization cluster/node/memory/utilization Node Memory Utilization GAUGE float
cluster_node_replication_offset cluster/node/replication/offset Node Replication Offset GAUGE int
cluster_node_server_healthy cluster/node/server/healthy Node Service Health Status GAUGE bool
cluster_node_server_uptime cluster/node/server/uptime Node Service Uptime GAUGE seconds
cluster_node_stats_connections_received_count cluster/node/stats/connections_received_count Node Total Connections Received COUNTER int
cluster_node_stats_evicted_keys_count cluster/node/stats/evicted_keys_count Node Total Evicted Keys COUNTER int
cluster_node_stats_expired_keys_count cluster/node/stats/expired_keys_count Node Total Expired Keys COUNTER int
cluster_node_stats_keyspace_hits_count cluster/node/stats/keyspace_hits_count Node Total Keyspace Hits COUNTER int
cluster_node_stats_keyspace_misses_count cluster/node/stats/keyspace_misses_count Node Total Keyspace Misses COUNTER int
cluster_node_stats_net_input_bytes_count cluster/node/stats/net_input_bytes_count Node Total Network Input Bytes COUNTER bytes
cluster_node_stats_net_output_bytes_count cluster/node/stats/net_output_bytes_count Node Total Network Output Bytes COUNTER bytes
cluster_node_stats_rejected_connections_count cluster/node/stats/rejected_connections_count Node Total Rejected Connections COUNTER int
cluster_persistence_rdb_saves_count cluster/persistence/rdb_saves_count RDB Persistence Save Count COUNTER int
cluster_replication_average_ack_lag cluster/replication/average_ack_lag Replication Acknowledgment Lag - Cluster Average GAUGE milliseconds
cluster_replication_average_offset_diff cluster/replication/average_offset_diff Replication Offset Difference - Cluster Average GAUGE int
cluster_replication_maximum_ack_lag cluster/replication/maximum_ack_lag Replication Acknowledgment Lag - Cluster Maximum GAUGE milliseconds
cluster_replication_maximum_offset_diff cluster/replication/maximum_offset_diff Replication Offset Difference - Cluster Maximum GAUGE int
cluster_search_attributes cluster/search/attributes Search Attributes Count GAUGE int
cluster_search_average_used_memory_bytes cluster/search/average_used_memory_bytes Search Memory Usage - Cluster Average GAUGE bytes
cluster_search_background_indexing_in_progress cluster/search/background_indexing_in_progress Background Indexing In Progress Count GAUGE int
cluster_search_indexed_keys cluster/search/indexed_keys Indexed Keys Count GAUGE int
cluster_search_indexes cluster/search/indexes Search Indexes Count GAUGE int
cluster_search_maximum_used_memory_bytes cluster/search/maximum_used_memory_bytes Search Memory Usage - Cluster Maximum GAUGE bytes
cluster_search_query_requests_count cluster/search/query_requests_count Total Search Query Requests COUNTER int
cluster_search_total_used_memory_bytes cluster/search/total_used_memory_bytes Total Search Memory Usage GAUGE bytes
cluster_stats_average_evicted_keys cluster/stats/average_evicted_keys Evicted Keys Count - Cluster Average GAUGE int
cluster_stats_average_expired_keys cluster/stats/average_expired_keys Expired Keys Count - Cluster Average GAUGE int
cluster_stats_average_keyspace_hits cluster/stats/average_keyspace_hits Keyspace Hits - Cluster Average GAUGE int
cluster_stats_average_keyspace_misses cluster/stats/average_keyspace_misses Keyspace Misses - Cluster Average GAUGE int
cluster_stats_maximum_evicted_keys cluster/stats/maximum_evicted_keys Evicted Keys Count - Cluster Maximum GAUGE int
cluster_stats_maximum_expired_keys cluster/stats/maximum_expired_keys Expired Keys Count - Cluster Maximum GAUGE int
cluster_stats_maximum_keyspace_hits cluster/stats/maximum_keyspace_hits Keyspace Hits - Cluster Maximum GAUGE int
cluster_stats_maximum_keyspace_misses cluster/stats/maximum_keyspace_misses Keyspace Misses - Cluster Maximum GAUGE int
cluster_stats_total_connections_received_count cluster/stats/total_connections_received_count Total Connections Received - Cluster Total COUNTER int
cluster_stats_total_evicted_keys_count cluster/stats/total_evicted_keys_count Total Evicted Keys - Cluster Total COUNTER int
cluster_stats_total_expired_keys_count cluster/stats/total_expired_keys_count Total Expired Keys - Cluster Total COUNTER int
cluster_stats_total_keyspace_hits_count cluster/stats/total_keyspace_hits_count Total Keyspace Hits - Cluster Total COUNTER int
cluster_stats_total_keyspace_misses_count cluster/stats/total_keyspace_misses_count Total Keyspace Misses - Cluster Total COUNTER int
cluster_stats_total_net_input_bytes_count cluster/stats/total_net_input_bytes_count Total Network Input Bytes - Cluster Total COUNTER bytes
cluster_stats_total_net_output_bytes_count cluster/stats/total_net_output_bytes_count Total Network Output Bytes - Cluster Total COUNTER bytes
cluster_stats_total_rejected_connections_count cluster/stats/total_rejected_connections_count Total Rejected Connections - Cluster Total COUNTER int