Network Performance Monitoring is now generally available! Network Monitoring is now available!

Google Cloud Memorystore for Redis

Crawler Crawler

Overview

Google Cloud Memorystore for Redis provides a fully managed in-memory data store service built on scalable, secure, and highly available infrastructure.

Use the Datadog Google Cloud Platform integration to collect metrics from Google Cloud Memorystore for Redis.

Setup

Installation

If you haven’t already, set up the Google Cloud Platform integration first. There are no other installation steps.

Log collection

Google Cloud Memorystore for Redis logs are collected with Stackdriver and sent to a Cloud pub/sub with an HTTP push forwarder. If you haven’t already, set up a Cloud pub/sub with an HTTP push forwarder.

Once this is done, export your Google Cloud Memorystore for Redis logs from Stackdriver to the pub/sub:

  1. Go to the Stackdriver page and filter the Google Cloud Memorystore for Redis logs.
  2. Click Create Export and name the sink.
  3. Choose “Cloud Pub/Sub” as the destination and select the pub/sub that was created for that purpose. Note: The pub/sub can be located in a different project.
  4. Click Create and wait for the confirmation message to show up.

Data Collected

Metrics

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
(count)
CPU, in utilization percentage, consumed by the Redis server broken down by System/User and Parent/Child relationship
Shown as percent
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

Events

The Google Cloud Memorystore for Redis integration does not include any events.

Service Checks

The Google Cloud Memorystore for Redis integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.