GCP Memorystore for Redis
采集 GCP Memorystore for Redis 指标 及 集群指标
配置¶
安装 Func¶
推荐开通 观测云集成 - 扩展 - 托管版 Func: 一切前置条件都自动安装好, 请继续脚本安装
如果自行部署 Func 参考自行部署 Func
安装脚本¶
-
登陆Func 控制台,点击【脚本市场】,进入观测云脚本市场,搜索
integration_gcp_redis -
点击【安装】后,输入相应的参数:账户文件名、Target Principal、帐号名
-
点击【部署启动脚本】,系统会自动创建
Startup脚本集,并自动配置相应的启动脚本。 -
开启后可以在「管理 / 自动触发配置」里看到对应的自动触发配置。点击【执行】,即可立即执行一次,无需等待定期时间。稍等片刻,可以查看执行任务记录以及对应日志。
验证¶
- 在「管理 / 自动触发配置」确认对应的任务是否已存在对应的自动触发配置,同时可以查看对应任务记录及日志检查是否有异常
- 在观测云,「基础设施 / 自定义」中查看是否存在资产信息
- 在观测云,「指标」查看是否有对应监控数据
指标¶
GCP Memorystore for Redis Cluster 指标在 gcp_redis_cluster 指标集下,以下是部分指标说明
| 指标 | 原始指标 | 描述信息 | 数据类型 | 单位 |
|---|---|---|---|---|
| cluster_clients_average_connected_clients | cluster/clients/average_connected_clients |
客户端连接数 - 集群平均值 | GAUGE | int |
| cluster_clients_maximum_connected_clients | cluster/clients/maximum_connected_clients |
客户端连接数 - 集群最大值 | GAUGE | int |
| cluster_clients_total_connected_clients | cluster/clients/total_connected_clients |
客户端连接数 - 集群总计 | GAUGE | int |
| cluster_cpu_average_utilization | cluster/cpu/average_utilization |
CPU 利用率 - 集群平均值 | GAUGE | float |
| cluster_cpu_maximum_utilization | cluster/cpu/maximum_utilization |
CPU 利用率 - 集群最大值 | GAUGE | float |
| cluster_memory_average_utilization | cluster/memory/average_utilization |
内存利用率 - 集群平均值 | GAUGE | float |
| cluster_memory_maximum_utilization | cluster/memory/maximum_utilization |
内存利用率 - 集群最大值 | GAUGE | float |
| cluster_memory_size | cluster/memory/size |
内存总容量 | GAUGE | bytes |
| cluster_memory_total_used_memory | cluster/memory/total_used_memory |
内存已使用总量 | GAUGE | bytes |
| cluster_node_clients_blocked_clients | cluster/node/clients/blocked_clients |
节点阻塞客户端数 | GAUGE | int |
| cluster_node_clients_connected_clients | cluster/node/clients/connected_clients |
节点已连接客户端数 | GAUGE | int |
| cluster_node_cpu_utilization | cluster/node/cpu/utilization |
节点 CPU 利用率 | GAUGE | float |
| cluster_node_cross_cluster_replication_role | cluster/node/cross_cluster_replication_role |
节点跨集群复制角色 | GAUGE | string |
| cluster_node_memory_usage | cluster/node/memory/usage |
节点内存使用量 | GAUGE | bytes |
| cluster_node_memory_utilization | cluster/node/memory/utilization |
节点内存利用率 | GAUGE | float |
| cluster_node_replication_offset | cluster/node/replication/offset |
节点复制偏移量 | GAUGE | int |
| cluster_node_server_healthy | cluster/node/server/healthy |
节点服务健康状态 | GAUGE | bool |
| cluster_node_server_uptime | cluster/node/server/uptime |
节点服务运行时长 | GAUGE | seconds |
| cluster_node_stats_connections_received_count | cluster/node/stats/connections_received_count |
节点接收连接总数 | COUNTER | int |
| cluster_node_stats_evicted_keys_count | cluster/node/stats/evicted_keys_count |
节点逐出键总数 | COUNTER | int |
| cluster_node_stats_expired_keys_count | cluster/node/stats/expired_keys_count |
节点过期键总数 | COUNTER | int |
| cluster_node_stats_keyspace_hits_count | cluster/node/stats/keyspace_hits_count |
节点键空间命中总数 | COUNTER | int |
| cluster_node_stats_keyspace_misses_count | cluster/node/stats/keyspace_misses_count |
节点键空间未命中总数 | COUNTER | int |
| cluster_node_stats_net_input_bytes_count | cluster/node/stats/net_input_bytes_count |
节点网络输入字节总数 | COUNTER | bytes |
| cluster_node_stats_net_output_bytes_count | cluster/node/stats/net_output_bytes_count |
节点网络输出字节总数 | COUNTER | bytes |
| cluster_node_stats_rejected_connections_count | cluster/node/stats/rejected_connections_count |
节点拒绝连接总数 | COUNTER | int |
| cluster_persistence_rdb_saves_count | cluster/persistence/rdb_saves_count |
RDB 持久化保存次数 | COUNTER | int |
| cluster_replication_average_ack_lag | cluster/replication/average_ack_lag |
复制确认延迟 - 集群平均值 | GAUGE | milliseconds |
| cluster_replication_average_offset_diff | cluster/replication/average_offset_diff |
复制偏移量差异 - 集群平均值 | GAUGE | int |
| cluster_replication_maximum_ack_lag | cluster/replication/maximum_ack_lag |
复制确认延迟 - 集群最大值 | GAUGE | milliseconds |
| cluster_replication_maximum_offset_diff | cluster/replication/maximum_offset_diff |
复制偏移量差异 - 集群最大值 | GAUGE | int |
| cluster_search_attributes | cluster/search/attributes |
搜索属性数量 | GAUGE | int |
| cluster_search_average_used_memory_bytes | cluster/search/average_used_memory_bytes |
搜索内存使用 - 集群平均值 | GAUGE | bytes |
| cluster_search_background_indexing_in_progress | cluster/search/background_indexing_in_progress |
后台索引进行中任务数 | GAUGE | int |
| cluster_search_indexed_keys | cluster/search/indexed_keys |
已索引键数量 | GAUGE | int |
| cluster_search_indexes | cluster/search/indexes |
搜索索引数量 | GAUGE | int |
| cluster_search_maximum_used_memory_bytes | cluster/search/maximum_used_memory_bytes |
搜索内存使用 - 集群最大值 | GAUGE | bytes |
| cluster_search_query_requests_count | cluster/search/query_requests_count |
搜索查询请求总数 | COUNTER | int |
| cluster_search_total_used_memory_bytes | cluster/search/total_used_memory_bytes |
搜索内存使用总量 | GAUGE | bytes |
| cluster_stats_average_evicted_keys | cluster/stats/average_evicted_keys |
逐出键数量 - 集群平均值 | GAUGE | int |
| cluster_stats_average_expired_keys | cluster/stats/average_expired_keys |
过期键数量 - 集群平均值 | GAUGE | int |
| cluster_stats_average_keyspace_hits | cluster/stats/average_keyspace_hits |
键空间命中 - 集群平均值 | GAUGE | int |
| cluster_stats_average_keyspace_misses | cluster/stats/average_keyspace_misses |
键空间未命中 - 集群平均值 | GAUGE | int |
| cluster_stats_maximum_evicted_keys | cluster/stats/maximum_evicted_keys |
逐出键数量 - 集群最大值 | GAUGE | int |
| cluster_stats_maximum_expired_keys | cluster/stats/maximum_expired_keys |
过期键数量 - 集群最大值 | GAUGE | int |
| cluster_stats_maximum_keyspace_hits | cluster/stats/maximum_keyspace_hits |
键空间命中 - 集群最大值 | GAUGE | int |
| cluster_stats_maximum_keyspace_misses | cluster/stats/maximum_keyspace_misses |
键空间未命中 - 集群最大值 | GAUGE | int |
| cluster_stats_total_connections_received_count | cluster/stats/total_connections_received_count |
接收连接总数 - 集群总计 | COUNTER | int |
| cluster_stats_total_evicted_keys_count | cluster/stats/total_evicted_keys_count |
逐出键总数 - 集群总计 | COUNTER | int |
| cluster_stats_total_expired_keys_count | cluster/stats/total_expired_keys_count |
过期键总数 - 集群总计 | COUNTER | int |
| cluster_stats_total_keyspace_hits_count | cluster/stats/total_keyspace_hits_count |
键空间命中总数 - 集群总计 | COUNTER | int |
| cluster_stats_total_keyspace_misses_count | cluster/stats/total_keyspace_misses_count |
键空间未命中总数 - 集群总计 | COUNTER | int |
| cluster_stats_total_net_input_bytes_count | cluster/stats/total_net_input_bytes_count |
网络输入字节总数 - 集群总计 | COUNTER | bytes |
| cluster_stats_total_net_output_bytes_count | cluster/stats/total_net_output_bytes_count |
网络输出字节总数 - 集群总计 | COUNTER | bytes |
| cluster_stats_total_rejected_connections_count | cluster/stats/total_rejected_connections_count |
拒绝连接总数 - 集群总计 | COUNTER | int |