Redis - Amazon Managed Grafana

Redis

Note

In workspaces that support version 9 or newer, this data source might require you to install the appropriate plugin. For more information, see Grafana plugins.

The Redis Data Source for Grafana is a plugin that allows users to connect to any Redis database on-premises or in the cloud. It provides out-of-the-box predefined dashboards and lets you build customized dashboards to monitor Redis and application data.

Adding the data source

  1. Open the Grafana console in the Amazon Managed Grafana workspace and make sure you are logged in.

  2. In the side menu under Configuration (the gear icon), choose Data Sources.

  3. Choose Add data source.

    Note

    If you don't see the Data Sources link in your side menu, it means that your current user does not have the Admin role.

  4. Select Redis from the list of data sources.

  5. Enter the following information:

    • For Address, specify the host:port address or a URI to connect to Redis. Use /db-number or ?db=db=number to specify the logical database number as defined in the Schema.

    • Cluster tab. For redundancy, provide multiple host:port addresses or URIs comma separated.

    • In the Sentinel tab, the Address can contain multiple values (host:port address or a URI) with commas. The Master Name is required to connect to the Sentinel and open Redis connections.

    • In Unix socket mode, the Address should contain the path to the socket file.

    • For Pool Size, the recommendation is 5. The data source will keep open at least the given number of connections to the Redis instance. You can increase the pool size if dashboards have a lot of panels and multiple users.

Query editor

  1. Choose Type to select core Redis, Custom, or Redis Module.

  2. Select one of the supported commands.

  3. Provide all required parameters.

  4. Enable streaming to visualize data on Graph or Time-Series panels.

Template variables can query any command which returns a list of values and use other variables as parameters.