This add-on is operated by Stovepipe Studios, Inc.
Track your Redis server's health and prevent problems before they occur.
Memetria Monitoring for Redis®*
Last updated August 29, 2022
Table of Contents
Memetria Monitoring for Redis is a monitoring package to track the health and performance of your Redis server. Memetria Monitoring for Redis makes it easy to save memory (and money) by exposing large keys, memory leaks, and unused keys.
- An interactive map of Redis memory usage
- Large key identification and tracking
- Continuous analysis of dozens of Redis-specific metrics
Memetria Monitoring for Redis works with all popular Redis add-on services and requires no additional code or configuration in your app.
Provisioning the Add-on
Add Memetria Monitoring for Redis to an app via the Heroku CLI. You can specify the URL of the Redis database to monitor using the “–url” flag:
$ heroku addons:create redismonitor:free --url redis://x:email@example.com:11001/
If you don’t know your Redis URL, you can still add Memetria Monitoring for Redis to your app. You will be prompted to enter it when you open the Memetria dashboard.
$ heroku addons:create redismonitor:free
Enabling Memory Monitoring
Memetria Monitoring for Redis’s memory analysis features require a paid plan. You can upgrade to a paid plan using the CLI:
$ heroku addons:upgrade redismonitor:monitor0 Changing redismonitor-shaped-48055 on calm-beach-06843 from redismonitor:free to redismonitor:monitor0... done, ($7/mo)
The plan size required depends on the total number of keys in the Redis database that you monitor. After using Memetria Monitoring to reduce your memory usage, you can downgrade to a smaller plan:
$ heroku addons:downgrade redismonitor:monitor0 Changing redismonitor-shaped-48055 on calm-beach-06843 from redismonitor:monitor3 to redismonitor:monitor0... done, ($7/mo)
Heroku Data for Redis
$ heroku addons:create redismonitor:free --url `heroku config:get REDIS_URL`
Heroku Private Spaces do not allow external connections for data services by
default, but they can be enabled using Trusted IP ranges for data
You can find the list of IP addresses that Memetria Monitoring for Redis uses to connect to your
Redis server in Memetria’s
using CIDR notation to specify the IP addresses, you can use a mask of
each IP address, e.g.
22.214.171.124/32, to ensure only Memetria’s IP
addresses are used.
$ heroku addons:create redismonitor:free --url `heroku config:get OPENREDIS_URL`
$ heroku addons:create redismonitor:free --url `heroku config:get REDISCLOUD_URL`
Viewing the Memetria dashboard
To access your Memetria dashboard, click on the Memetria Monitoring for Redis link on your app’s Heroku Dashboard page. You will be automatically redirected and logged in to your Memetria dashboard.
Updating your Redis URL
Your monitor’s Redis URL can be changed by clicking the “Settings” button on your Memetria dashboard. You will not lose any graph data — Memetria will begin graphing the new values in your existing graphs.
See “Updating your Redis URL” above.
Removing the Add-on
After you remove Memetria Monitoring for Redis from your app, your Redis server will no longer be monitored and your graph data will be erased.
You can remove Memetria Monitoring for Redis from your app via the Heroku CLI:
$ heroku addons:destroy redismonitor ! WARNING: Destructive Action ! This command will affect the app: example-app ! To proceed, type "example-app" or re-run this command with --confirm example-app > example-app Removing redismonitor:free from example-app... done, v25 ($free)
Click the “Support” button in the Memetria dashboard or email us at firstname.lastname@example.org if you need any help with Memetria Monitoring for Redis.