Redis용 Google Cloud Memorystore

개요

Redis용 Google Cloud Memorystore는 확장 가능하고 안전하며 가용성 높은 인프라스트럭처에 구축된 완전관리형 인메모리 데이터 스토어 서비스를 제공합니다.

Datadog Google Cloud Platform 통합을 사용하여 Redis용 Google Cloud Memorystore에서 메트릭을 수집합니다.

설정

설치

아직 설치하지 않았다면 먼저 Google 클라우드 플랫폼 통합을 설정합니다. 그 외 다른 설치가 필요하지 않습니다.

로그 수집

Google Cloud Memorystore Redis 로그는 Google Cloud Logging으로 수집하여 클라우드 Pub/Sub 토픽을 통해 데이터 플로우 작업으로 전송됩니다. 아직 설정하지 않았다면 Datadog 데이터 플로우 템플릿으로 로깅을 설정하세요.

해당 작업이 완료되면 Google Cloud Logging에서 Google Cloud Memorystore Redis 로그를 다음 Pub/Sub 주제로 내보냅니다.

  1. Google Cloud Logging 페이지로 이동해 Google Cloud Memorystore Redis 로그를 필터링하세요.
  2. Create Export를 클릭하고 싱크 이름을 지정하세요.
  3. “Cloud Pub/Sub"를 대상으로 선택하고 해당 목적으로 생성된 Pub/Sub 주제를 선택합니다. 참고: Pub/Sub 주제는 다른 프로젝트에 있을 수 있습니다.
  4. Create를 클릭하고 확인 메시지가 나타날 때까지 기다립니다.

수집한 데이터

메트릭

gcp.redis.clients.blocked
(gauge)
Number of blocked clients
gcp.redis.clients.connected
(gauge)
Number of client connections
Shown as connection
gcp.redis.commands.calls
(count)
Total number of calls for this command
gcp.redis.commands.total_time
(gauge)
The amount of time in microseconds that this command took in the last second
Shown as microsecond
gcp.redis.commands.usec_per_call
(gauge)
Average time per call over 1 minute by command
Shown as second
gcp.redis.keyspace.avg_ttl
(gauge)
Average TTL for keys in this database
Shown as millisecond
gcp.redis.keyspace.keys_with_expiration
(gauge)
Number of keys with an expiration in this database
Shown as key
gcp.redis.keyspace.keys
(gauge)
Number of keys stored in this database
Shown as key
gcp.redis.persistence.rdb.bgsave_in_progress
(gauge)
Flag indicating a RDB save is on-going
gcp.redis.replication.master.slaves.lag
(gauge)
The number of seconds that replica is lagging behind primary.
Shown as second
gcp.redis.replication.master.slaves.offset
(gauge)
The number of bytes that have been acknowledged by replicas.
Shown as byte
gcp.redis.replication.master_repl_offset
(gauge)
The number of bytes that master has produced and sent to replicas. To be compared with replication byte offset of replica.
Shown as byte
gcp.redis.replication.offset_diff
(gauge)
The number of bytes that have not been replicated to the replica. This is the difference between replication byte offset (master) and replication byte offset (replica).
Shown as byte
gcp.redis.replication.role
(gauge)
Returns a value indicating the node role. 1 indicates master and 0 indicates replica.
gcp.redis.server.uptime
(gauge)
Uptime in seconds
Shown as second
gcp.redis.stats.cache_hit_ratio
(gauge)
Cache Hit ratio as a fraction
gcp.redis.stats.connections.total
(gauge)
Total number of connections accepted by the server
Shown as connection
gcp.redis.stats.cpu_utilization
(gauge)
CPU, in seconds of utilization, consumed by the Redis server broken down by System/User and Parent/Child relationship
Shown as second
gcp.redis.stats.evicted_keys
(count)
Number of evicted keys due to maxmemory limit
Shown as key
gcp.redis.stats.expired_keys
(count)
Total number of key expiration events
Shown as key
gcp.redis.stats.keyspace_hits
(count)
Number of successful lookup of keys in the main dictionary
Shown as key
gcp.redis.stats.keyspace_misses
(count)
Number of failed lookup of keys in the main dictionary
Shown as key
gcp.redis.stats.memory.maxmemory
(gauge)
Maximum amount of memory Redis can consume
Shown as byte
gcp.redis.stats.memory.system_memory_usage_ratio
(gauge)
Memory usage as a ratio of maximum system memory
Shown as fraction
gcp.redis.stats.memory.usage_ratio
(gauge)
Memory usage as a ratio of maximum memory
Shown as fraction
gcp.redis.stats.memory.usage
(gauge)
Total number of bytes allocated by Redis
Shown as byte
gcp.redis.stats.network_traffic
(count)
Total number of bytes sent to/from redis (includes bytes from commands themselves, payload data, and delimiters)
Shown as byte
gcp.redis.stats.pubsub.channels
(gauge)
Global number of pub/sub channels with client subscriptions
gcp.redis.stats.pubsub.patterns
(gauge)
Global number of pub/sub pattern with client subscriptions
gcp.redis.stats.reject_connections_count
(count)
Number of connections rejected because of maxclients limit
Shown as connection

이벤트

Redis용 Google Cloud Memorystore 통합은 이벤트를 포함하지 않습니다.

서비스 점검

Redis용 Google Cloud Memorystore 통합은 서비스 점검을 포함하지 않습니다.

트러블슈팅

도움이 필요하신가요? Datadog 지원팀에 문의하세요.