Skip to content

Commit

Permalink
support 'DelHPct' columns of 'command_detail' section for memcached
Browse files Browse the repository at this point in the history
  • Loading branch information
deep011 committed Sep 25, 2017
1 parent 048ed85 commit a43ab13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sss.py
Original file line number Diff line number Diff line change
Expand Up @@ -2416,7 +2416,8 @@ def field_handler_memcached_hits_percentage(column, status, server):
StatusColumn("CasM", "cas_misses", 0, column_flags_speed, field_handler_common, ["cas_misses"], "Number of cas commands misses per second."),
StatusColumn("CasB", "cas_badval", 0, column_flags_speed, field_handler_common, ["cas_badval"], "Number of cas commands bad values per second."),
StatusColumn("GetPct", "get_percentage", 0, column_flags_speed_then_ratio, field_handler_memcached_hits_percentage, ["cmd_get", "cmd_set", "incr_misses", "incr_hits", "decr_misses", "decr_hits"], "Percentage of retrieval commands among all the retrieval, storage and arithmetic commands per second."),
StatusColumn("GetHPct", "get_hits_percentage", 0, column_flags_speed_then_ratio, field_handler_memcached_hits_percentage, ["get_hits","get_misses"], "Hits percentage of retrieval commands per second. Retrieval commands include get, gets and so on.")
StatusColumn("GetHPct", "get_hits_percentage", 0, column_flags_speed_then_ratio, field_handler_memcached_hits_percentage, ["get_hits","get_misses"], "Hits percentage of retrieval commands per second. Retrieval commands include get, gets and so on."),
StatusColumn("DelHPct", "delete_hits_percentage", 0, column_flags_speed_then_ratio, field_handler_memcached_hits_percentage, ["delete_hits","delete_misses"], "Hits percentage of delete commands per second.")
], [get_memcached_status],["GetPct","GetHPct"],
"memcached command detail status, collect from \'stats\'")

Expand Down

0 comments on commit a43ab13

Please sign in to comment.