Monitor Type: prometheus/redis
(Source)
Accepts Endpoints: Yes
Multiple Instances Allowed: Yes
This monitor scrapes Prmoetheus Redis Exporter metrics and sends them to SignalFx. It is a wrapper around the prometheus-exporter monitor that provides a restricted but expandable set of metrics.
To activate this monitor in the Smart Agent, add the following to your agent config:
monitors: # All monitor config goes under this key
- type: prometheus/redis
... # Additional config
For a list of monitor options that are common to all monitors, see Common Configuration.
Config option | Required | Type | Description |
---|---|---|---|
host |
yes | string |
Host of the exporter |
port |
yes | integer |
Port of the exporter |
username |
no | string |
Basic Auth username to use on each request, if any. |
password |
no | string |
Basic Auth password to use on each request, if any. |
useHTTPS |
no | bool |
If true, the agent will connect to the exporter using HTTPS instead of plain HTTP. (default: false ) |
skipVerify |
no | bool |
If useHTTPS is true and this option is also true, the exporter's TLS cert will not be verified. (default: false ) |
metricPath |
no | string |
Path to the metrics endpoint on the exporter server, usually /metrics (the default). (default: /metrics ) |
sendAllMetrics |
no | bool |
Send all the metrics that come out of the Prometheus exporter without any filtering. This option has no effect when using the prometheus exporter monitor directly since there is no built-in filtering, only when embedding it in other monitors. (default: false ) |
These are the metrics available for this monitor. This monitor emits all metrics by default; however, none are categorized as container/host -- they are all custom.
redis_aof_current_rewrite_duration_sec
(gauge)
aof_current_rewrite_duration_sec metricredis_aof_enabled
(gauge)
aof_enabled metricredis_aof_last_rewrite_duration_sec
(gauge)
aof_last_rewrite_duration_sec metricredis_aof_rewrite_in_progress
(gauge)
aof_rewrite_in_progress metricredis_aof_rewrite_scheduled
(gauge)
aof_rewrite_scheduled metricredis_blocked_clients
(gauge)
blocked_clients metricredis_client_biggest_input_buf
(gauge)
client_biggest_input_buf metricredis_client_longest_output_list
(gauge)
client_longest_output_list metricredis_cluster_enabled
(gauge)
cluster_enabled metricredis_command_call_duration_seconds_count
(gauge)
command_call_duration_seconds_count metricredis_command_call_duration_seconds_sum
(gauge)
Total amount of time in seconds spent per commandredis_commands_processed_total
(gauge)
commands_processed_total metricredis_config_maxclients
(gauge)
config_maxclients metricredis_config_maxmemory
(gauge)
config_maxmemory metricredis_connected_clients
(gauge)
connected_clients metricredis_connected_slaves
(gauge)
connected_slaves metricredis_connections_received_total
(gauge)
connections_received_total metricredis_db_avg_ttl_seconds
(gauge)
Avg TTL in secondsredis_db_keys
(gauge)
Total number of keys by DBredis_db_keys_expiring
(gauge)
Total number of expiring keys by DBredis_evicted_keys_total
(gauge)
evicted_keys_total metricredis_expired_keys_total
(gauge)
expired_keys_total metricredis_exporter_build_info
(gauge)
redis exporter build_inforedis_exporter_last_scrape_duration_seconds
(gauge)
The last scrape durationredis_exporter_last_scrape_error
(gauge)
The last scrape error statusredis_exporter_scrapes_total
(gauge)
Current total redis scrapesredis_instance_info
(gauge)
Information about the Redis instanceredis_instantaneous_input_kbps
(gauge)
instantaneous_input_kbps metricredis_instantaneous_ops_per_sec
(gauge)
instantaneous_ops_per_sec metricredis_instantaneous_output_kbps
(gauge)
instantaneous_output_kbps metricredis_keyspace_hits_total
(gauge)
keyspace_hits_total metricredis_keyspace_misses_total
(gauge)
keyspace_misses_total metricredis_latest_fork_usec
(gauge)
latest_fork_usec metricredis_loading_dump_file
(gauge)
loading_dump_file metricredis_master_repl_offset
(gauge)
master_repl_offset metricredis_memory_fragmentation_ratio
(gauge)
memory_fragmentation_ratio metricredis_memory_max_bytes
(gauge)
memory_max_bytes metricredis_memory_used_bytes
(gauge)
memory_used_bytes metricredis_memory_used_lua_bytes
(gauge)
memory_used_lua_bytes metricredis_memory_used_peak_bytes
(gauge)
memory_used_peak_bytes metricredis_memory_used_rss_bytes
(gauge)
memory_used_rss_bytes metricredis_net_input_bytes_total
(gauge)
net_input_bytes_total metricredis_net_output_bytes_total
(gauge)
net_output_bytes_total metricredis_process_id
(gauge)
process_id metricredis_pubsub_channels
(gauge)
pubsub_channels metricredis_pubsub_patterns
(gauge)
pubsub_patterns metricredis_rdb_changes_since_last_save
(gauge)
rdb_changes_since_last_save metricredis_rdb_current_bgsave_duration_sec
(gauge)
rdb_current_bgsave_duration_sec metricredis_rdb_last_bgsave_duration_sec
(gauge)
rdb_last_bgsave_duration_sec metricredis_rejected_connections_total
(gauge)
rejected_connections_total metricredis_replication_backlog_bytes
(gauge)
replication_backlog_bytes metricredis_slowlog_length
(gauge)
Total slowlogredis_start_time_seconds
(gauge)
Start time of the Redis instance since unix epoch in secondsredis_up
(gauge)
up metricredis_uptime_in_seconds
(gauge)
uptime_in_seconds metricredis_used_cpu_sys
(gauge)
used_cpu_sys metricredis_used_cpu_sys_children
(gauge)
used_cpu_sys_children metricredis_used_cpu_user
(gauge)
used_cpu_user metricredis_used_cpu_user_children
(gauge)
used_cpu_user_children metric The agent does not do any built-in filtering of metrics coming out of this monitor.