The read, write, and query (as well as udf, proxy, and re-repl) histograms are macro level histograms that are always ‘enabled’; however, if there haven’t been any data points collected for a particular macro level histogram, it will be omitted from the logs.
Histograms are only maintained during the life of the Aerospike server process, if you restarted Aerospike, then you will need to allow the histogram to allow ~20 seconds for the histograms to accumulate data.
I notice this in my aero log, don’t know if it is related :
Nov 09 2018 09:44:53 GMT: WARNING (particle): (particle_list.c:1954) OP_LIST_GET_RANGE: index 0 out of bounds for ele_count 0
Nov 09 2018 09:44:53 GMT: WARNING (rw): (read.c:400) {ns} read_local: failed as_bin_cdt_read_from_client() <Digest>:0x975560e9f93076dcbf5f7a029be21fdb5f7078c8
Sorry my asadm command was missing a “like” keyword.
Well clearly you have been issuing queries, assuming they weren’t all failing:
asadm -e "show stat like query_fail query_reqs"
If you are issuing queries and they are completing successfully, I see no reason from the code’s perspective that the histogram wouldn’t be logged (unless you have changed your ticker-interval to be disabled or very largs).