Service Instance Metrics
This page describes the metrics used to monitor state of an a9s KeyValue Service Instance. For further information on how to monitor an a9s Service Instance, see the Set up Monitoring section of the Application Developer's documentation.
Metrics
These are all metrics provided by a9s KeyValue.
Metric Id | Type | Description |
---|---|---|
blocked_clients | Integer | Number of clients pending on a blocking call (BLPOP, BRPOP, BRPOPLPUSH, BLMOVE, BZPOPMIN, BZPOPMAX). documentation |
connected_clients | Integer | Number of client connections (excluding connections from replicas). documentation |
connected_slaves | Integer | Number of connected replicas. documentation |
evicted_keys | Integer | Number of evicted keys due to maxmemory limit. documentation |
expired_keys | Integer | Total number of key expiration events. documentation |
instantaneous_ops_per_sec | Integer | Number of commands processed per second. documentation |
keyspace_hits | Integer | Number of successful lookup of keys in the main dictionary. documentation |
keyspace_misses | Integer | Number of failed lookup of keys in the main dictionary. documentation |
master_last_io_seconds_ago | Integer | Number of seconds since the last interaction with master. documentation |
master_link_down_since_seconds | Integer | Number of seconds since the link is down. documentation |
master_link_status | Text | Status of the link (up/down). documentation |
master_sync_last_io_seconds_ago | Integer | Number of seconds since last transfer I/O during a SYNC operation. documentation |
mem_fragmentation_ratio | Float | Ratio between used_memory_rss and used_memory . Note that this doesn't only includes fragmentation, but also other process overheads (see the allocator_* metrics), and also overheads like code, shared libraries, stack, etc. documentation |
min_slaves_good_slaves | Integer | Number of replicas currently considered good. documentation |
rejected_connections | Integer | Number of connections rejected because of maxclients limit. documentation |
role | Text | Value is "master" if the instance is replica of no one, or "slave" if the instance is a replica of some master instance. documentation |
slaveXX.lag | Integer | The read replication lag of the replica instance. documentation |
slaveXX.offset | Integer | The read replication offset of the replica instance. documentation |
total_commands_processed | Integer | Total number of commands processed by the server. documentation |
total_connections_received | Integer | Total number of connections accepted by the server. documentation |
used_memory | Integer | Total number of bytes allocated by Valkey using its allocator (either standard libc, jemalloc, or an alternative allocator such as tcmalloc) documentation |
used_memory_lua | Integer | Number of bytes used by the Lua engine. documentation |
used_memory_peak | Integer | Peak memory consumed by Valkey (in bytes). documentation |
used_memory_rss | Integer | Number of bytes that Valkey allocated as seen by the operating system (a.k.a resident set size). documentation |
Metrics
*.valkey.*.*.*.blocked_clients
*.valkey.*.*.*.connected_clients
*.valkey.*.*.*.connected_slaves
*.valkey.*.*.*.evicted_keys
*.valkey.*.*.*.expired_keys
*.valkey.*.*.*.instantaneous_ops_per_sec
*.valkey.*.*.*.keyspace_hits
*.valkey.*.*.*.keyspace_misses
*.valkey.*.*.*.master_last_io_seconds_ago
*.valkey.*.*.*.master_link_down_since_seconds
*.valkey.*.*.*.master_link_status
*.valkey.*.*.*.master_sync_last_io_seconds_ago
*.valkey.*.*.*.mem_fragmentation_ratio 4
*.valkey.*.*.*.min_slaves_good_slaves
*.valkey.*.*.*.rejected_connections
*.valkey.*.*.*.role
*.valkey.*.*.*.slaveXX.lag
*.valkey.*.*.*.slaveXX.offset
*.valkey.*.*.*.total_commands_processed
*.valkey.*.*.*.total_connections_received
*.valkey.*.*.*.used_memory
*.valkey.*.*.*.used_memory_lua
*.valkey.*.*.*.used_memory_peak
*.valkey.*.*.*.used_memory_rss