Skip to main content
Version: Develop

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 IdTypeDescription
blocked_clientsIntegerNumber of clients pending on a blocking call (BLPOP, BRPOP, BRPOPLPUSH, BLMOVE, BZPOPMIN, BZPOPMAX). documentation
connected_clientsIntegerNumber of client connections (excluding connections from replicas). documentation
connected_slavesIntegerNumber of connected replicas. documentation
evicted_keysIntegerNumber of evicted keys due to maxmemory limit. documentation
expired_keysIntegerTotal number of key expiration events. documentation
instantaneous_ops_per_secIntegerNumber of commands processed per second. documentation
keyspace_hitsIntegerNumber of successful lookup of keys in the main dictionary. documentation
keyspace_missesIntegerNumber of failed lookup of keys in the main dictionary. documentation
master_last_io_seconds_agoIntegerNumber of seconds since the last interaction with master. documentation
master_link_down_since_secondsIntegerNumber of seconds since the link is down. documentation
master_link_statusTextStatus of the link (up/down). documentation
master_sync_last_io_seconds_agoIntegerNumber of seconds since last transfer I/O during a SYNC operation. documentation
mem_fragmentation_ratioFloatRatio 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_slavesIntegerNumber of replicas currently considered good. documentation
rejected_connectionsIntegerNumber of connections rejected because of maxclients limit. documentation
roleTextValue is "master" if the instance is replica of no one, or "slave" if the instance is a replica of some master instance. documentation
slaveXX.lagIntegerThe read replication lag of the replica instance. documentation
slaveXX.offsetIntegerThe read replication offset of the replica instance. documentation
total_commands_processedIntegerTotal number of commands processed by the server. documentation
total_connections_receivedIntegerTotal number of connections accepted by the server. documentation
used_memoryIntegerTotal number of bytes allocated by Valkey using its allocator (either standard libc, jemalloc, or an alternative allocator such as tcmalloc) documentation
used_memory_luaIntegerNumber of bytes used by the Lua engine. documentation
used_memory_peakIntegerPeak memory consumed by Valkey (in bytes). documentation
used_memory_rssIntegerNumber 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