Skip to content

GCP Memorystore for Redis

Collect GCP Memorystore for Redis Metrics and Cluster Metrics

Configuration

Install Func

It is recommended to activate the Guance Integration - Extensions - DataFlux Func (Automata): all prerequisites are automatically installed. Please continue with the script installation.

For self-deploying Func, refer to Self-deploying Func

Install Script

  1. Log in to the Func console, click [Script Market], enter the Guance script market, and search for integration_gcp_redis.

  2. Click [Install], then enter the corresponding parameters: account file name, Target Principal, account name.

  3. Click [Deploy Startup Script], the system will automatically create the Startup script set and configure the corresponding startup scripts.

  4. After enabling, you can see the corresponding automatic trigger configuration under "Manage / Automatic Trigger Configurations". Click [Execute] to immediately execute it once without waiting for the scheduled time. Wait a moment, then you can check the execution task records and corresponding logs.

Verification

  1. Under "Manage / Automatic Trigger Configurations", confirm whether the corresponding task has the corresponding automatic trigger configuration. You can also check the corresponding task records and logs for any exceptions.
  2. In Guance, check under "Infrastructure / Custom" to see if asset information exists.
  3. In Guance, check under "Metrics" to see if there is corresponding monitoring data.

Metrics

GCP Memorystore for Redis Cluster metrics are under the gcp_redis_cluster Measurement. Below are some metric descriptions.

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

Feedback

Is this page helpful? ×