@@ -95,7 +95,7 @@ pub mod metrics {
9595
9696 /// The metric counting how often a blob is read from storage.
9797 #[ doc( hidden) ]
98- pub static READ_BLOB_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
98+ pub ( super ) static READ_BLOB_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
9999 register_int_counter_vec (
100100 "read_blob" ,
101101 "The metric counting how often a blob is read from storage" ,
@@ -105,7 +105,7 @@ pub mod metrics {
105105
106106 /// The metric counting how often a blob state is read from storage.
107107 #[ doc( hidden) ]
108- pub static READ_BLOB_STATE_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
108+ pub ( super ) static READ_BLOB_STATE_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
109109 register_int_counter_vec (
110110 "read_blob_state" ,
111111 "The metric counting how often a blob state is read from storage" ,
@@ -115,7 +115,7 @@ pub mod metrics {
115115
116116 /// The metric counting how often blob states are read from storage.
117117 #[ doc( hidden) ]
118- pub static READ_BLOB_STATES_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
118+ pub ( super ) static READ_BLOB_STATES_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
119119 register_int_counter_vec (
120120 "read_blob_states" ,
121121 "The metric counting how often blob states are read from storage" ,
@@ -125,7 +125,7 @@ pub mod metrics {
125125
126126 /// The metric counting how often a blob is written to storage.
127127 #[ doc( hidden) ]
128- pub static WRITE_BLOB_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
128+ pub ( super ) static WRITE_BLOB_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
129129 register_int_counter_vec (
130130 "write_blob" ,
131131 "The metric counting how often a blob is written to storage" ,
@@ -145,7 +145,7 @@ pub mod metrics {
145145
146146 /// The metric counting how often certificates are read from storage.
147147 #[ doc( hidden) ]
148- pub static READ_CERTIFICATES_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
148+ pub ( super ) static READ_CERTIFICATES_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
149149 register_int_counter_vec (
150150 "read_certificates" ,
151151 "The metric counting how often certificate are read from storage" ,
@@ -165,7 +165,7 @@ pub mod metrics {
165165
166166 /// The latency to load a chain state.
167167 #[ doc( hidden) ]
168- pub static LOAD_CHAIN_LATENCY : LazyLock < HistogramVec > = LazyLock :: new ( || {
168+ pub ( crate ) static LOAD_CHAIN_LATENCY : LazyLock < HistogramVec > = LazyLock :: new ( || {
169169 register_histogram_vec (
170170 "load_chain_latency" ,
171171 "The latency to load a chain state" ,
@@ -176,7 +176,7 @@ pub mod metrics {
176176
177177 /// The metric counting how often an event is read from storage.
178178 #[ doc( hidden) ]
179- pub static READ_EVENT_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
179+ pub ( super ) static READ_EVENT_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
180180 register_int_counter_vec (
181181 "read_event" ,
182182 "The metric counting how often an event is read from storage" ,
@@ -195,7 +195,7 @@ pub mod metrics {
195195
196196 /// The metric counting how often an event is written to storage.
197197 #[ doc( hidden) ]
198- pub static WRITE_EVENT_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
198+ pub ( super ) static WRITE_EVENT_COUNTER : LazyLock < IntCounterVec > = LazyLock :: new ( || {
199199 register_int_counter_vec (
200200 "write_event" ,
201201 "The metric counting how often an event is written to storage" ,
@@ -205,7 +205,7 @@ pub mod metrics {
205205
206206 /// The metric counting how often the network description is read from storage.
207207 #[ doc( hidden) ]
208- pub static READ_NETWORK_DESCRIPTION : LazyLock < IntCounterVec > = LazyLock :: new ( || {
208+ pub ( super ) static READ_NETWORK_DESCRIPTION : LazyLock < IntCounterVec > = LazyLock :: new ( || {
209209 register_int_counter_vec (
210210 "network_description" ,
211211 "The metric counting how often the network description is read from storage" ,
@@ -215,7 +215,7 @@ pub mod metrics {
215215
216216 /// The metric counting how often the network description is written to storage.
217217 #[ doc( hidden) ]
218- pub static WRITE_NETWORK_DESCRIPTION : LazyLock < IntCounterVec > = LazyLock :: new ( || {
218+ pub ( super ) static WRITE_NETWORK_DESCRIPTION : LazyLock < IntCounterVec > = LazyLock :: new ( || {
219219 register_int_counter_vec (
220220 "write_network_description" ,
221221 "The metric counting how often the network description is written to storage" ,
0 commit comments