Back to Redis

Monitor Performance

content/operate/rc/databases/monitor-performance.md

latest6.6 KB
Original Source

Redis Cloud provides a variety of metrics to help you monitor database performance. You can view graphs of performance data at any time and receive emails when performance crosses defined thresholds.

View database metrics

The Metrics tab of the View Database screen provides a series of graphs showing performance data for your database.

{{<image filename="images/rc/database-metrics-tab.png" width="75%" alt="The Metrics tab of the View Database screen." >}}

Performance data provides insight into how your database is being used and how well it is performing.

The interval scrollbar controls the time period displayed in the graphs.

{{<image filename="images/rc/database-metrics-interval-scrollbar.png" width="75%" alt="The Metrics tab of the View Database screen." >}}

Promote metric graphs

The Metrics screen shows two primary graphs and a collection of smaller ones. You can promote any smaller graph to a primary position.

When you use the mouse to point to a smaller graph, three things appear:

  • A promotion icon pointing left
  • A promotion icon pointing right
  • A summary panel showing the minimum, average, maximum, and most recent values displayed in the graph.

{{<image filename="images/rc/metrics-promote-graphs.png" width="300px" alt="Promoting graphs to primary positions" >}}

Use the promotion icons to promote the smaller graph to one of the primary positions. The left icon promotes the smaller graph to the left position and the right icon promotes the smaller graph to the right position.

Metric definitions

Several metric graphs are available:

MetricDescription
[Ops/sec]({{< relref "/operate/rs/references/metrics/database-operations#opssec" >}})The number of overall operations per sec for all Redis commands
[Reads/sec]({{< relref "/operate/rs/references/metrics/database-operations#readssec" >}})The number of read operations per second
[Writes/sec]({{< relref "/operate/rs/references/metrics/database-operations#writessec" >}})The number of write operations per second
[Other cmds/sec]({{< relref "/operate/rs/references/metrics/database-operations#other-commandssec" >}})The number of other Redis commands per second
[Latency]({{< relref "/operate/rs/references/metrics/database-operations#latency" >}})Latency per operation, in milliseconds
[Reads latency]({{< relref "/operate/rs/references/metrics/database-operations#reads-latency" >}})Latency per read operation, in milliseconds
[Writes latency]({{< relref "/operate/rs/references/metrics/database-operations#writes-latency" >}})Latency per write operation, in milliseconds
[Other latency]({{< relref "/operate/rs/references/metrics/database-operations#other-commands-latency" >}})Latency of other commands, in milliseconds
[Used memory]({{< relref "/operate/rs/references/metrics/resource-usage#used-memory" >}})Amount of memory used by the database
[Total keys]({{< relref "/operate/rs/references/metrics/database-operations#total-keys" >}})Total number of keys in the database
[Connections]({{< relref "/operate/rs/references/metrics/resource-usage#connections" >}})Total number of connections to the endpoint
[Evicted objects/sec]({{< relref "/operate/rs/references/metrics/database-operations#evicted-objectssec" >}})Number of objects evicted from the database per second.
[Expired objects/sec]({{< relref "/operate/rs/references/metrics/database-operations#expired-objectssec" >}})Number of expired objects per second. An expired object is an object with expired TTL that was deleted from the database.
[Hit ratio]({{< relref "/operate/rs/references/metrics/database-operations#hit-ratio" >}})Percent of operations on existing keys out of the total number database operations
Network Ingress bytes/secAmount of traffic in bytes per second entering the database network
Network Egress bytes/secAmount of traffic in bytes per second exiting the database network

For more detailed analysis, consider using [Redis Insight]({{< relref "/develop/tools/insight" >}}) or [Prometheus and Grafana]({{< relref "/integrate/prometheus-with-redis-cloud/" >}}).

Configure alerts {#configure-metric-alerts}

Depending on your subscription plan, you can enable alerts for several metrics for a given database.

To do so, go to the Configuration tab of the database and then locate the Alerts section.

Setting nameDescriptionDefault ValueAccepted Range
Dataset size has reachedSends an alert when the dataset size reaches or exceeds the defined percentage of the memory limit. (Pro only)80%1-100%
Total size of datasets under this plan reachedSends an alert when the total size of all datasets in the plan reaches or exceeds the defined percentage of the plan limit. (Essentials only)80%1-100%
Throughput is higher thanSends an alert when throughput is over the defined limit in operations per second (ops/sec). (Paid Essentials or Pro only)1000 ops/sec1-10000000 ops/sec
Throughput is lower thanSends an alert when throughput is under the defined limit in operations per second (ops/sec). (Paid Essentials or Pro only)10 ops/sec1-10000000 ops/sec
Latency is higher thanSends an alert when the latency is over the defined limit in milliseconds (msec). (Paid Essentials or Pro only)10 msec1-10000 msec
Number of connectionsSends an alert when the number of connections exceeds the defined percentage of the plan limit. (Essentials only)80%1-100%
Replica Of - database unable to sync with sourceSends an alert when the target database cannot sync with the source database after the defined number of seconds. (Pro only)1 second0-1 seconds
Replica Of - sync lag is higher thanSends an alert if lag between the source and target databases exceeds the defined number of seconds. (Pro only)600 seconds1-86400 seconds

Alert settings are specific to each database. Make sure you've configured alerts for all desired databases.

Change alert recipients

Any member of the account team can receive alert emails.

To update alert settings for one or more team members, select Access Management from the Redis Cloud console menu and then select the Team tab. For details, see [Access management]({{< relref "/operate/rc/security/access-control/access-management" >}}).

If you subscribe to Redis Cloud through a Platform-as-a-Service (PaaS) provider (such as Heroku), you will need to review your provider's documentation for help managing your team.

Continue learning with Redis University

{{< university-links >}}