Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit c6cab34

Browse files
committed
update counters for 3.15
1 parent eb5d807 commit c6cab34

File tree

1 file changed

+39
-5
lines changed

1 file changed

+39
-5
lines changed

stats.go

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,45 @@ var (
1313
// See `asinfo -l -v statistics` for the full list.
1414
StatsMetrics = []metric{
1515
gauge("cluster_size", "cluster size"),
16+
// cluster_key=C0758EC6A81F
17+
// cluster_integrity=true
18+
// cluster_is_member=true
19+
counter("uptime", "uptime"),
1620
gauge("system_free_mem_pct", "system free mem pct"),
21+
// system_swapping=false
22+
gauge("heap_allocated_kbytes", "heap allocated kbytes"),
23+
gauge("heap_active_kbytes", "heap active kbytes"),
24+
gauge("heap_mapped_kbytes", "heap mapped kbytes"),
25+
gauge("heap_efficiency_pct", "heap efficiency pct"),
26+
gauge("heap_site_count", "heap site count"),
1727
gauge("objects", "objects"),
18-
gauge("sub_objects", "sub objects"),
28+
gauge("tombstones", "tombstones"),
29+
gauge("tsvc_queue", "tsvc queue"),
1930
gauge("info_queue", "info queue"),
2031
gauge("delete_queue", "delete queue"),
32+
// rw_in_progress=0
33+
// proxy_in_progress=0
34+
// tree_gc_queue=0
2135
gauge("client_connections", "client connections"),
2236
gauge("heartbeat_connections", "heartbeat connections"),
2337
gauge("fabric_connections", "fabric connections"),
38+
counter("heartbeat_received_self", "heartbeat received self"),
39+
counter("heartbeat_received_foreign", "heartbeat received foreign"),
40+
counter("reaped_fds", "reaped fds"),
41+
counter("info_complete", "info complete"),
42+
counter("demarshal_error", "demarshal error"),
43+
counter("early_tsvc_client_error", "early tsvc client error"),
44+
counter("early_tsvc_batch_sub_error", "early tsvc batch sub error"),
45+
counter("early_tsvc_udf_sub_error", "early tsvc udf sub error"),
2446
gauge("batch_index_initiate", "batch index initiate"),
47+
// batch_index_queue=0:0,0:0,0:0,0:0
2548
gauge("batch_index_complete", "batch index complete"),
2649
gauge("batch_index_error", "batch index error"),
2750
gauge("batch_index_timeout", "batch index timeout"),
51+
gauge("batch_index_unused_buffers", "batch index unused buffers"),
52+
gauge("batch_index_huge_buffers", "batch index huge buffers"),
53+
counter("batch_index_created_buffers", "batch index created buffers"),
54+
counter("batch_index_destroyed_buffers", "batch index destroyed buffers"),
2855
gauge("batch_initiate", "batch initiate"),
2956
gauge("batch_queue", "batch queue"),
3057
gauge("batch_error", "batch error"),
@@ -34,15 +61,22 @@ var (
3461
gauge("query_long_running", "query long running"),
3562
gauge("sindex_ucgarbage_found", "sindex ucgarbage found"),
3663
gauge("sindex_gc_locktimedout", "sindex gc locktimedout"),
37-
gauge("sindex_gc_inactivity_dur", "sindex gc inactivity dur"),
38-
gauge("sindex_gc_activity_dur", "sindex gc activity dur"),
3964
gauge("sindex_gc_list_creation_time", "sindex gc list creation time"),
4065
gauge("sindex_gc_list_deletion_time", "sindex gc list deletion time"),
4166
gauge("sindex_gc_objects_validated", "sindex gc objects validated"),
4267
gauge("sindex_gc_garbage_found", "sindex gc garbage found"),
4368
gauge("sindex_gc_garbage_cleaned", "sindex gc garbage cleaned"),
44-
counter("fabric_msgs_sent", "fabric msgs sent"),
45-
counter("fabric_msgs_rcvd", "fabric msgs rcvd"),
69+
// paxos_principal=BB9508FED001500
70+
// migrate_allowed=true
71+
gauge("migrate_partitions_remaining", "migrate partitions remaining"),
72+
gauge("fabric_bulk_send_rate", "fabric bulk send rate"),
73+
gauge("fabric_bulk_recv_rate", "fabric bulk recv rate"),
74+
gauge("fabric_ctrl_send_rate", "fabric ctrl send rate"),
75+
gauge("fabric_ctrl_recv_rate", "fabric ctrl recv rate"),
76+
gauge("fabric_meta_send_rate", "fabric meta send rate"),
77+
gauge("fabric_meta_recv_rate", "fabric meta recv rate"),
78+
gauge("fabric_rw_send_rate", "fabric rw send rate"),
79+
gauge("fabric_rw_recv_rate", "fabric rw recv rate"),
4680
counter("xdr_ship_success", "xdr ship success"),
4781
counter("xdr_ship_delete_success", "xdr ship delete success"),
4882
counter("xdr_ship_source_error", "xdr ship source error"),

0 commit comments

Comments
 (0)