NavigationContentFooter
Jump toSuggest an edit
Was this page helpful?

How to monitor your Redis™ Database Instance with Scaleway Cockpit

Reviewed on 05 June 2025Published on 05 June 2025

You can view your Managed Database for Redis™ metrics and logs using Scaleway Cockpit. Managed Databases are fully integrated into Cockpit.

Monitoring is available for:

  • Primary Database Instance nodes
  • Secondary nodes (if in High Availability or in Cluster mode)

This page explains how to get started with Scaleway Cockpit for viewing your Managed Database for Redis™’ metrics and logs.

Before you startLink to this anchor

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • A Redis™ Database Instance

How to activate your CockpitLink to this anchor

Scaleway Cockpit is activated by default if you have created any Scaleway resources integrated with Cockpit.

How to access the Grafana dashboardLink to this anchor

To view your Managed Database’s metrics and logs, use the Grafana dashboard which is accessible from the Scaleway console:

  • First, you must create a user and their associated credentials (a username and password) for Grafana
  • Then, you can use these credentials to access the Grafana dashboard for all your Scaleway products, via the Scaleway console.
  1. Create a Grafana user and retrieve their username and password by following this procedure.

  2. From the Scaleway console Cockpit overview page, click Open dashboards in the top right corner.

  3. Enter your Grafana username and password to log in.

    You are directed to the Scaleway Cockpit dashboards homepage.

How to view and understand your Managed Database metricsLink to this anchor

  1. Click Open dashboards on the top right from the Scaleway Cockpit dashboards homepage.

  2. Click Dashboards in the left menu, then Redis Overview in the list of products.

    You are directed to the RDB Overview dashboard.

Metrics are refreshed every minute, and report on the following data:

  • CPU usage
  • Node usage
  • Database memory usage
  • Network I/O
  • Connected/Blocked clients
  • Hits/Misses per second
  • Expiring/Not-expiring keys
  • Expired/Evicted keys

Choosing metric parametersLink to this anchor

At the top of the dashboard, you can configure the following parameters, that control which metrics are displayed:

  • Resource name - Select a specific Database Instance to monitor.
  • Node - Choose a specific node (main or replica). In a High Availability (HA) cluster, both nodes might switch from main to replica and vice versa. You might see two versions of the same node, as main and as replica. If you select main for a specific node, you will only see the node’s activity when it was the main, and vice-versa. In Cluster mode, all nodes are considered primary and each have a data subset.
  • Timeframe - Get metrics from the last five minutes up to 31 days (free plan) and 365 days (premium plan).

Viewing logsLink to this anchor

The log section is displayed below the metrics section.

Click Logs to collapse the tab and view your logs.

You can configure Redis™ advanced settings to define parameters for slow logs.

ParameterDescription
slowlog-log-slower-thanSpecifies how many microseconds (1 second = 1,000,000 microseconds) the execution time of a command must exceed to be recorded in the slow query log.
slowlog-max-lenSpecifies the maximum number of slow query logs that the server retains. The server retains multiple slow query logs on a first-in-first-out (FIFO) basis. When the number of slow query logs stored by the server equals the slowlog-max-len value, the server will delete the oldest slow query log before adding a new one.

How to activate pre-configured alertsLink to this anchor

You can activate Scaleway pre-configured alerts for your Managed Databases with Scaleway Cockpit.

Note

Refer to the How to activate pre-configured alerts to learn how to do so.

By default, two pre-configured alerts are available for Managed Databases:

  • HighCpuUsage - Alerts if CPU usage has been higher than 80% for 10 consecutive minutes
  • HighMemoryUsage - RAM usage has been higher than 80% for 10 consecutive minutes

You can also configure your own alerts and set values for each of the parameters below to define when you want to be alerted:

AlertDescription
rkv_cluster_node_cpu_seconds_totalTotal amount of CPU time consumed by the Database Instance, measured in seconds
rkv_cluster_node_memory_MemAvailable_bytesAmount of memory available
rkv_cluster_node_memory_MemTotal_bytesTotal installed physical memory (RAM)
rkv_cluster_redis_blocked_clientsTotal blocked connections on Redis™
rkv_cluster_redis_config_maxclientsMaximum number of connections configured
rkv_cluster_redis_connected_clientsTotal active connections on Redis™
rkv_cluster_redis_db_keysTotal number of keys stored
rkv_cluster_redis_db_keys_expiringTotal number of keys that have an expiration date
rkv_cluster_redis_evicted_keys_totalTotal number of keys that were evicted because of memory pressure
rkv_cluster_redis_expired_keys_totalTotal number of keys that have expired
rkv_cluster_redis_keyspace_hits_totalTotal number of requests that found a match in the database
rkv_cluster_redis_keyspace_misses_totalTotal number of request that did not find a match in the database
rkv_cluster_redis_memory_max_bytesAmount of memory available for Redis™
rkv_cluster_redis_memory_used_bytesAmount of memory used by Redis™
rkv_cluster_redis_net_input_bytes_totalTotal incoming traffic received by Redis™ from clients, measured in bytes
rkv_cluster_redis_net_output_bytes_totalTotal outgoing traffic sent by Redis™, measured in bytes
See also
How to configure advanced settingsHow to delete a Redis™ Database Instance
Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2025 – Scaleway