Redis

Redis is an open-source, in-memory data storage system widely used as a cache, key-value database, and message broker. It offers exceptionally fast performance as it keeps the data in main memory instead of on disk. Redis supports various data types, such as strings, hashes, lists, sets, and sorted sets, allowing for flexible data modeling. Additionally, it provides advanced features, including replication, disk persistence, distribution, and support for atomic operations. Redis is known for its simplicity, ease of use, and its ability to handle intensive read and write workloads. It is especially used in applications that require high speed, scalability, and low latency, such as caching dynamic data, message queues, visitor counting, and real-time analytics.

How to Monitor Redis on the One Platform

To set up monitoring for Redis on the platform, follow these steps:

  1. Go to the product application where you want to add Redis as a dependency in the platform.

  2. Click on the “Products” menu and select the desired product card.

  3. Then, click on the name of the specific application where you want to configure Redis monitoring.

  4. Look for the section called “External Dependencies,” usually located just below the latency graph of the application.

  5. To add an already registered dependency, type the name of the dependency in the search field and select it when it appears in the list.

  6. If Redis is not yet registered as a dependency, click on the green button with a plus (+) symbol to add a new dependency.



Click “Add” and a modal will appear allowing you to name the database and select the Environment. In the “Check type” field, choose the option “DB,” and in the “Method” field, select “Redis.” After selecting the method, a field for the Healthcheck URL will appear.



Below is an example of string for Redis:

ex1: HOST:PORT

In case of a Redis Cluster, you need to select the “Cluster” checkbox and use one of the following string formats:

Example 1 (Cluster): HOST1:PORT1,HOST2:PORT2,HOST3:PORT3…

Example 2 (Cluster): HOSTCONFIG:PORT

To complete the configuration, check the “TLS” box if you require a secure protocol. In the “User” and “Password” fields, you can use a secret if desired. In the “Database” field, choose the number of databases, and in “Max Retries,” define the number of attempts for the first failure.

Note: For security reasons, it is not permitted to enter an IP in the healthcheck field. To monitor an IP, you need to enter it in a secret and use it in healthcheck

Redis is an open-source, in-memory data storage system widely used as a cache, key-value database, and message broker. It offers exceptionally fast performance as it keeps the data in main memory instead of on disk. Redis supports various data types, such as strings, hashes, lists, sets, and sorted sets, allowing for flexible data modeling. Additionally, it provides advanced features, including replication, disk persistence, distribution, and support for atomic operations. Redis is known for its simplicity, ease of use, and its ability to handle intensive read and write workloads. It is especially used in applications that require high speed, scalability, and low latency, such as caching dynamic data, message queues, visitor counting, and real-time analytics.

How to Monitor Redis on the One Platform

To set up monitoring for Redis on the platform, follow these steps:

  1. Go to the product application where you want to add Redis as a dependency in the platform.

  2. Click on the “Products” menu and select the desired product card.

  3. Then, click on the name of the specific application where you want to configure Redis monitoring.

  4. Look for the section called “External Dependencies,” usually located just below the latency graph of the application.

  5. To add an already registered dependency, type the name of the dependency in the search field and select it when it appears in the list.

  6. If Redis is not yet registered as a dependency, click on the green button with a plus (+) symbol to add a new dependency.



Click “Add” and a modal will appear allowing you to name the database and select the Environment. In the “Check type” field, choose the option “DB,” and in the “Method” field, select “Redis.” After selecting the method, a field for the Healthcheck URL will appear.



Below is an example of string for Redis:

ex1: HOST:PORT

In case of a Redis Cluster, you need to select the “Cluster” checkbox and use one of the following string formats:

Example 1 (Cluster): HOST1:PORT1,HOST2:PORT2,HOST3:PORT3…

Example 2 (Cluster): HOSTCONFIG:PORT

To complete the configuration, check the “TLS” box if you require a secure protocol. In the “User” and “Password” fields, you can use a secret if desired. In the “Database” field, choose the number of databases, and in “Max Retries,” define the number of attempts for the first failure.

Note: For security reasons, it is not permitted to enter an IP in the healthcheck field. To monitor an IP, you need to enter it in a secret and use it in healthcheck