@@ -32,15 +32,15 @@ public class TableQueryMetrics extends AbstractMetrics
32
32
{
33
33
public static final String TABLE_QUERY_METRIC_TYPE = "TableQueryMetrics" ;
34
34
35
- private final PerQueryMetrics perQueryMetrics ;
35
+ public final PerQueryMetrics perQueryMetrics ;
36
36
37
- private final Counter totalQueryTimeouts ;
38
- private final Counter totalPartitionReads ;
39
- private final Counter totalRowsFiltered ;
40
- private final Counter totalQueriesCompleted ;
37
+ public final Counter totalQueryTimeouts ;
38
+ public final Counter totalPartitionReads ;
39
+ public final Counter totalRowsFiltered ;
40
+ public final Counter totalQueriesCompleted ;
41
41
42
- private final Counter sortThenFilterQueriesCompleted ;
43
- private final Counter filterThenSortQueriesCompleted ;
42
+ public final Counter sortThenFilterQueriesCompleted ;
43
+ public final Counter filterThenSortQueriesCompleted ;
44
44
45
45
public TableQueryMetrics (TableMetadata table )
46
46
{
@@ -77,39 +77,39 @@ public void release()
77
77
78
78
public class PerQueryMetrics extends AbstractMetrics
79
79
{
80
- private final Timer queryLatency ;
80
+ public final Timer queryLatency ;
81
81
82
82
/**
83
83
* Global metrics for all indices hit during the query.
84
84
*/
85
- private final Histogram sstablesHit ;
86
- private final Histogram segmentsHit ;
87
- private final Histogram partitionReads ;
88
- private final Histogram rowsFiltered ;
85
+ public final Histogram sstablesHit ;
86
+ public final Histogram segmentsHit ;
87
+ public final Histogram partitionReads ;
88
+ public final Histogram rowsFiltered ;
89
89
90
90
/**
91
91
* BKD index metrics.
92
92
*/
93
- private final Histogram kdTreePostingsNumPostings ;
93
+ public final Histogram kdTreePostingsNumPostings ;
94
94
/**
95
95
* BKD index posting lists metrics.
96
96
*/
97
- private final Histogram kdTreePostingsSkips ;
98
- private final Histogram kdTreePostingsDecodes ;
97
+ public final Histogram kdTreePostingsSkips ;
98
+ public final Histogram kdTreePostingsDecodes ;
99
99
100
100
/** Shadowed keys scan metrics **/
101
- private final Histogram shadowedKeysScannedHistogram ;
101
+ public final Histogram shadowedKeysScannedHistogram ;
102
102
103
103
/**
104
104
* Trie index posting lists metrics.
105
105
*/
106
- private final Histogram postingsSkips ;
107
- private final Histogram postingsDecodes ;
106
+ public final Histogram postingsSkips ;
107
+ public final Histogram postingsDecodes ;
108
108
109
109
/**
110
110
* Cumulative time spent searching ANN graph.
111
111
*/
112
- private final Timer annGraphSearchLatency ;
112
+ public final Timer annGraphSearchLatency ;
113
113
114
114
public PerQueryMetrics (TableMetadata table )
115
115
{
0 commit comments