Skip to main content
Version: NG-2.16

redis

Introduction​

Redis is an open-source, in-memory data structure store, commonly used as a cache or message broker. It provides fast access to data through key-value pairs and supports various data structures like strings, hashes, lists, sets, and more.

Getting Started​

Compatibility​

The Redis O11ySource is compatible with all versions greater than or equal to Redis 6.0.16.

Data Collection Method​

vuSmartMaps collects health and performance data for Redis using VuNet's Healthbeat agent. This agent collects data based on the source configuration.

Prerequisites​

Dependent Configuration​

To configure this O11ySource, create a 'credential' of type 'user' under the 'Definition' tab.

Inputs for Configuring Data Source​

  • Host: Enter the Redis server IPv4 address, FQDN (e.g., redis01.example.com), or localhost. This value is used to uniquely identify the server entry.
  • Port Number: Enter the TCP port where Redis is listening. Default is 6379.
  • Cluster ID: Enter a unique cluster name/ID for grouping servers in dashboards (e.g., prod-redis-cluster-1).
  • Period [in seconds]: Metric collection interval in seconds. Data is collected once per interval. Allowed range: 60–3000 seconds.
  • Authentication Type: Select how to authenticate to Redis: No Authentication, Basic (username + password), or Password only.
  • Credential: Select a saved username/password credential from Definitions. Shown only when Authentication Type = Basic.
  • Password: Enter the Redis password used for authentication. Shown only when Authentication Type = Password only.

Firewall Requirement​

To collect data from this O11ySource, ensure the following ports are opened:

Source IPDestination IPDestination PortProtocolDirection
IP address of the Redis servervuSmartMaps Data Collector End Point9094*TCPInbound

*Before providing the firewall requirements, please update the port based on the customer environment.

Configuring the Target​

Healthbeat agent should be installed and running in the server where Redis is installed.

Configuration Steps​

  • Enable the Redis O11ySource.
  • Select the Sources tab and press the + button to add a new Redis host to be monitored.
  • Set up metrics configurations. Afterwards, select Save and Continue to proceed with downloading the Healthbeat agent.
  • The following packages will be available for download based on the OS:
  • *Download <OS> Healthbeat Installation Binary - Downloads the full Healthbeat package with required configurations for a fresh installation
  • *Download <OS> Healthbeat Update Configuration Binary - Downloads the agent configuration package to update an existing Healthbeat installation
  • Download the agent installation or update package, then click Finish to close the data source window.

Metrics Collected​

NameDescriptionData Type
@timestampTimestamp of the eventString
timestampPrecise timestamp of the eventDateTime64
beat_hostnameHostname of the beat collectorLowCardinality(String)
ecs_versionECS version usedLowCardinality(String)
event_datasetEvent dataset nameLowCardinality(String)
event_durationDuration of the event in millisecondsUInt32
event_moduleEvent module nameLowCardinality(String)
hostHost identifierLowCardinality(String)
host_info_architectureHost architectureLowCardinality(String)
host_info_containerizedWhether host is containerizedBool
host_info_hostnameHost hostnameLowCardinality(String)
host_info_idHost unique IDString
host_info_nameHost nameLowCardinality(String)
host_info_os_codenameOS codenameLowCardinality(String)
host_info_os_familyOS familyLowCardinality(String)
host_info_os_kernelOS kernel versionLowCardinality(String)
host_info_os_nameOS nameLowCardinality(String)
host_info_os_platformOS platformLowCardinality(String)
host_info_os_typeOS typeLowCardinality(String)
host_info_os_versionOS versionLowCardinality(String)
metricset_nameName of the metricsetLowCardinality(String)
metricset_periodMetricset collection period in secondsUInt32
os_fullFull OS descriptionLowCardinality(String)
periodCollection period in secondsFloat32
process_pidProcess ID of RedisUInt32
redis_info_clients_blockedNumber of blocked clientsUInt32
redis_info_clients_connectedNumber of connected clientsUInt32
redis_info_clients_max_input_bufferMax client input buffer sizeUInt32
redis_info_clients_max_output_bufferMax client output buffer sizeUInt32
redis_info_cluster_enabledWhether cluster is enabledBool
redis_info_commandstats_command_callsNumber of command callsUInt32
redis_info_commandstats_command_usecTotal microseconds for commandsUInt64
redis_info_commandstats_command_usec_per_callMicroseconds per command callFloat32
redis_info_commandstats_get_callsNumber of GET command callsUInt32
redis_info_commandstats_get_usecTotal microseconds for GET commandsUInt64
redis_info_commandstats_get_usec_per_callMicroseconds per GET callFloat32
redis_info_commandstats_info_callsNumber of INFO command callsUInt32
redis_info_commandstats_info_usecTotal microseconds for INFO commandsUInt64
redis_info_commandstats_info_usec_per_callMicroseconds per INFO callFloat32
redis_info_commandstats_ping_callsNumber of PING command callsUInt32
redis_info_commandstats_ping_usecTotal microseconds for PING commandsUInt64
redis_info_commandstats_ping_usec_per_callMicroseconds per PING callFloat32
redis_info_commandstats_strlen_callsNumber of STRLEN command callsUInt32
redis_info_commandstats_strlen_usecTotal microseconds for STRLEN commandsUInt64
redis_info_commandstats_strlen_usec_per_callMicroseconds per STRLEN callFloat32
redis_info_commandstats_scan_callsNumber of SCAN command callsUInt32
redis_info_commandstats_scan_usecTotal microseconds for SCAN commandsUInt64
redis_info_commandstats_scan_usec_per_callMicroseconds per SCAN callFloat32
redis_info_commandstats_type_callsNumber of TYPE command callsUInt32
redis_info_commandstats_type_usecTotal microseconds for TYPE commandsUInt64
redis_info_commandstats_type_usec_per_callMicroseconds per TYPE callFloat32
redis_info_commandstats_ttl_callsNumber of TTL command callsUInt32
redis_info_commandstats_ttl_usecTotal microseconds for TTL commandsUInt64
redis_info_commandstats_ttl_usec_per_callMicroseconds per TTL callFloat32
redis_info_commandstats_select_callsNumber of SELECT command callsUInt32
redis_info_commandstats_select_usecTotal microseconds for SELECT commandsUInt64
redis_info_commandstats_select_usec_per_callMicroseconds per SELECT callFloat32
redis_info_commandstats_slowlog_callsNumber of SLOWLOG command callsUInt32
redis_info_commandstats_slowlog_usecTotal microseconds for SLOWLOG commandsUInt64
redis_info_commandstats_slowlog_usec_per_callMicroseconds per SLOWLOG callFloat32
redis_info_cpu_used_sysSystem CPU used by RedisFloat32
redis_info_cpu_used_sys_childrenSystem CPU used by childrenFloat32
redis_info_cpu_used_userUser CPU used by RedisFloat32
redis_info_cpu_used_user_childrenUser CPU used by childrenFloat32
redis_info_memory_active_defrag_is_runningWhether active defrag is runningBool
redis_info_memory_allocatorMemory allocator usedLowCardinality(String)
redis_info_memory_allocator_stats_activeActive memory allocatedUInt32
redis_info_memory_allocator_stats_allocatedTotal memory allocatedUInt32
redis_info_memory_allocator_stats_fragmentation_bytesMemory fragmentation in bytesUInt32
redis_info_memory_allocator_stats_fragmentation_ratioMemory fragmentation ratioFloat32
redis_info_memory_allocator_stats_residentResident memory sizeUInt32
redis_info_memory_allocator_stats_rss_bytesRSS memory in bytesUInt32
redis_info_memory_allocator_stats_rss_ratioRSS memory ratioFloat32
redis_info_memory_fragmentation_bytesTotal memory fragmentation bytesUInt32
redis_info_memory_fragmentation_ratioTotal memory fragmentation ratioFloat32
redis_info_memory_max_policyMemory eviction policyLowCardinality(String)
redis_info_memory_max_valueMaximum memory valueUInt32
redis_info_memory_used_datasetMemory used by datasetUInt32
redis_info_memory_used_luaMemory used by LuaUInt32
redis_info_memory_used_peakPeak memory usedUInt32
redis_info_memory_used_rssResident Set Size memoryUInt32
redis_info_memory_used_valueMemory used valueUInt32
redis_info_persistence_aof_bgrewrite_last_statusLast AOF rewrite statusLowCardinality(String)
redis_info_persistence_aof_bufferAOF buffer statusString
redis_info_persistence_aof_copy_on_write_last_sizeLast AOF copy-on-write sizeUInt32
redis_info_persistence_aof_enabledWhether AOF is enabledBool
redis_info_persistence_aof_fsyncAOF fsync policyString
redis_info_persistence_aof_rewrite_bufferAOF rewrite buffer statusString
redis_info_persistence_aof_rewrite_current_time_secCurrent AOF rewrite time in secondsInt32
redis_info_persistence_aof_rewrite_in_progressWhether AOF rewrite is in progressBool
redis_info_persistence_aof_rewrite_last_time_secLast AOF rewrite time in secondsInt32
redis_info_persistence_aof_rewrite_scheduledWhether AOF rewrite is scheduledBool
redis_info_persistence_aof_sizeAOF sizeString
redis_info_persistence_aof_write_last_statusLast AOF write statusLowCardinality(String)
redis_info_persistence_loadingWhether loading is in progressBool
redis_info_persistence_rdb_bgsave_current_time_secCurrent RDB save time in secondsInt32
redis_info_persistence_rdb_bgsave_in_progressWhether RDB save is in progressBool
redis_info_persistence_rdb_bgsave_last_statusLast RDB save statusLowCardinality(String)
redis_info_persistence_rdb_bgsave_last_time_secLast RDB save time in secondsInt32
redis_info_persistence_rdb_copy_on_write_last_sizeLast RDB copy-on-write sizeUInt32
redis_info_persistence_rdb_last_save_changes_sinceChanges since last RDB saveUInt32
redis_info_persistence_rdb_last_save_timeTimestamp of last RDB saveUInt64
redis_info_replication_backlog_activeActive replication backlogUInt32
redis_info_replication_backlog_first_byte_offsetFirst byte offset in backlogInt32
redis_info_replication_backlog_histlenReplication backlog history lengthUInt32
redis_info_replication_backlog_sizeReplication backlog sizeUInt32
redis_info_replication_connected_slavesNumber of connected slavesUInt16
redis_info_replication_master_last_io_seconds_agoSeconds since last IO with masterUInt32
redis_info_replication_master_link_statusMaster link statusLowCardinality(String)
redis_info_replication_master_offsetMaster replication offsetInt32
redis_info_replication_master_second_offsetMaster second replication offsetInt32
redis_info_replication_master_sync_in_progressWhether master sync is in progressBool
redis_info_replication_roleReplication role (master/slave)LowCardinality(String)
redis_info_replication_slave_is_readonlyWhether slave is read-onlyBool
redis_info_replication_slave_offsetSlave replication offsetInt32
redis_info_replication_slave_prioritySlave priorityUInt32
redis_info_server_arch_bitsServer architecture bitsLowCardinality(String)
redis_info_server_build_idServer build IDString
redis_info_server_config_fileServer config file pathLowCardinality(String)
redis_info_server_gcc_versionGCC version usedLowCardinality(String)
redis_info_server_git_dirtyGit dirty flagLowCardinality(String)
redis_info_server_git_sha1Git SHA1 hashLowCardinality(String)
redis_info_server_hzServer frequency in HzUInt8
redis_info_server_lru_clockServer LRU clockUInt32
redis_info_server_modeServer modeLowCardinality(String)
redis_info_server_multiplexing_apiMultiplexing API usedLowCardinality(String)
redis_info_server_run_idServer run IDString
redis_info_server_tcp_portServer TCP portUInt16
redis_info_server_uptimeServer uptime in secondsUInt32
redis_info_slowlog_countNumber of slowlog entriesUInt32
redis_info_stats_active_defrag_hitsActive defragmentation hitsUInt32
redis_info_stats_active_defrag_key_hitsActive defragmentation key hitsUInt32
redis_info_stats_active_defrag_key_missesActive defragmentation key missesUInt32
redis_info_stats_active_defrag_missesActive defragmentation missesUInt32
redis_info_stats_commands_processedTotal commands processedUInt32
redis_info_stats_commands_processed_diffCommands processed difference since last intervalUInt32
redis_info_stats_commands_processed_rateCommands processed per secondFloat32
redis_info_stats_connections_receivedTotal connections receivedUInt32
redis_info_stats_connections_received_diffConnections received difference since last intervalUInt32
redis_info_stats_connections_received_rateConnections received per secondFloat32
redis_info_stats_connections_rejectedTotal connections rejectedUInt32
redis_info_stats_connections_rejected_diffConnections rejected difference since last intervalUInt32
redis_info_stats_connections_rejected_rateConnections rejected per secondFloat32
redis_info_stats_instantaneous_input_kbpsInstantaneous input KB/sFloat32
redis_info_stats_instantaneous_ops_per_secInstantaneous operations per secondUInt32
redis_info_stats_instantaneous_output_kbpsInstantaneous output KB/sFloat32
redis_info_stats_keys_evictedTotal keys evictedUInt32
redis_info_stats_keys_evicted_diffKeys evicted difference since last intervalUInt32
redis_info_stats_keys_evicted_rateKeys evicted per secondFloat32
redis_info_stats_keys_expiredTotal keys expiredUInt32
redis_info_stats_keyspace_hitsKeyspace hitsUInt32
redis_info_stats_keyspace_missesKeyspace missesUInt32
redis_info_stats_latest_fork_usecLatest fork time in microsecondsUInt64
redis_info_stats_migrate_cached_socketsMigrate cached socketsUInt32
redis_info_stats_net_input_bytesTotal network input bytesUInt32
redis_info_stats_net_output_bytesTotal network output bytesUInt32
redis_info_stats_pubsub_channelsPub/Sub channelsUInt32
redis_info_stats_pubsub_patternsPub/Sub patternsUInt32
redis_info_stats_slave_expires_tracked_keysSlave expires tracked keysUInt32
redis_info_stats_sync_fullFull syncsUInt32
redis_info_stats_sync_partial_errPartial sync errorsUInt32
redis_info_stats_sync_partial_okPartial sync successesUInt32
service_addressService addressLowCardinality(String)
service_typeService typeLowCardinality(String)
service_versionService versionLowCardinality(String)
targetTarget identifierLowCardinality(String)
typeEvent typeLowCardinality(String)
host_ipHost IP addressString
cluster_idCluster IDString
redis_keyspace_avg_ttlAverage TTL of keys in keyspace in millisecondsUInt32
redis_keyspace_expiresNumber of keys with expiration in keyspaceUInt32
redis_keyspace_keysTotal number of keys in keyspaceUInt32
redis_keyspace_idKeyspace identifierString
redis_key_expire_ttlTime remaining until key expiration in secondsInt32
redis_key_idKey unique identifierString
redis_key_lengthLength/size of the key valueUInt32
redis_key_nameKey nameString
redis_key_typeData type of the keyLowCardinality(String)