Google Cloud Memorystore for Redis

概要

Google Cloud Memorystore for Redis は、拡張性、安全性、可用性に優れたインフラストラクチャー上に構築されたフルマネージド型のインメモリデータストアサービスです。

Datadog Google Cloud Platform インテグレーションを使用して、Google Cloud Memorystore for Redis からメトリクスを収集できます。

セットアップ

APM に Datadog Agent を構成する

Google Cloud Platform インテグレーションをまだセットアップしていない場合は、最初にセットアップします。それ以上のインストール手順はありません。

ログの収集

Google Cloud Memorystore for Redis のログは Google Cloud Logging により収集され、HTTP プッシュフォワーダーを使用して Cloud Pub/Sub へ送信されます。HTTP プッシュフォワーダーを使用した Cloud Pub/Sub をまだセットアップしていない場合は、これをセットアップしてください。

これが完了したら、Google Cloud Memorystore for Redis のログを Google Cloud Logging から Pub/Sub へエクスポートします。

  1. Google Cloud Logging のページに移動し、Google Cloud Memorystore for Redis のログを絞り込みます。
  2. Create Export をクリックし、シンクに名前を付けます。
  3. エクスポート先として「Cloud Pub/Sub」を選択し、エクスポート用に作成された Pub/Sub を選択します。: この Pub/Sub は別のプロジェクト内に配置することもできます。
  4. 作成をクリックし、確認メッセージが表示されるまで待ちます。

収集データ

メトリクス

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 bytes that replica is behind.
Shown as byte
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

イベント

Google Cloud Memorystore for Redis インテグレーションには、イベントは含まれません。

サービスのチェック

Google Cloud Memorystore for Redis インテグレーションには、サービスのチェック機能は含まれません。

トラブルシューティング

ご不明な点は、Datadog のサポートチームまでお問合せください。