por lo que memcached proporciona muchas estadísticas para realizar un seguimiento del uso (aciertos y errores).
salida de muestra -
stats
STAT pid 1
STAT uptime 982226
STAT time 1630949306
STAT version 1.6.6
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 18.366158
STAT rusage_system 19.678998
STAT max_connections 65000
STAT curr_connections 7
STAT total_connections 3953
STAT connection_structures 17
STAT response_obj_bytes 2480
STAT response_obj_total 2
STAT response_obj_free 1
STAT response_obj_oom 0
STAT read_buf_bytes 32768
STAT read_buf_bytes_free 16384
STAT read_buf_oom 0
STAT reserved_fds 10
STAT cmd_get 8
STAT cmd_set 3980
STAT cmd_flush 0
STAT cmd_touch 0
STAT cmd_config_get 65475
STAT cmd_config_set 1
STAT cmd_meta 0
STAT get_hits 0
STAT get_misses 8
STAT get_expired 0
STAT get_flushed 0
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 4273871
STAT bytes_written 94622147
STAT limit_maxbytes 13932429312
STAT launch_time_maxbytes 13932429312
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT time_in_listen_disabled_us 0
STAT threads 2
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT curr_config 1
STAT malloc_fails 0
STAT log_worker_dropped 0
STAT log_worker_written 0
STAT log_watcher_skipped 0
STAT log_watcher_sent 0
STAT bytes 9202
STAT curr_items 50
STAT total_items 3939
STAT slab_global_page_pool 0
STAT expired_unfetched 3889
STAT evicted_unfetched 0
STAT evictions 0
STAT reclaimed 3889
STAT crawler_reclaimed 0
STAT crawler_items_checked 0
STAT lrutail_reflocked 0
Las estadísticas sobre obtener, eliminar, incr y eliminar están presentes en esta lista. Sin embargo, mi aplicación tiene un uso extensivo deagregary que no tiene ninguna métrica específica que mostrar cuando no se actualiza.
¿Cómo puedo comprobar cuántos se agregaron realmente y cuántos no?
Tenga en cuenta que puedo hacer esto desde la aplicación, iniciando sesión, etc., pero estoy buscando una manera de obtenerlo a partir de las métricas de monitoreo de Memcached.
¿Es esto siquiera posible?