@@ -142,24 +142,38 @@ pub static BEACON_STATE_HOT_GET_COUNT: LazyLock<Result<IntCounter>> = LazyLock::
142142 "Total number of hot beacon states requested from the store (cache or DB)" ,
143143 )
144144} ) ;
145- pub static BEACON_HDIFF_READ_TIMES : LazyLock < Result < Histogram > > = LazyLock :: new ( || {
145+ pub static BEACON_HOT_HDIFF_READ_TIMES : LazyLock < Result < Histogram > > = LazyLock :: new ( || {
146146 try_create_histogram (
147- "store_hdiff_read_seconds " ,
148- "Time required to read the hierarchical diff bytes from the database" ,
147+ "store_hot_hdiff_read_seconds " ,
148+ "Time required to read hierarchical diff bytes from the hot database" ,
149149 )
150150} ) ;
151- pub static BEACON_HDIFF_DECODE_TIMES : LazyLock < Result < Histogram > > = LazyLock :: new ( || {
151+ pub static BEACON_HOT_HDIFF_DECODE_TIMES : LazyLock < Result < Histogram > > = LazyLock :: new ( || {
152152 try_create_histogram (
153- "store_hdiff_decode_seconds " ,
154- "Time required to decode hierarchical diff bytes" ,
153+ "store_hot_hdiff_decode_seconds " ,
154+ "Time required to decode hierarchical diff bytes from the hot database " ,
155155 )
156156} ) ;
157- pub static BEACON_HDIFF_BUFFER_CLONE_TIMES : LazyLock < Result < Histogram > > = LazyLock :: new ( || {
157+ pub static BEACON_COLD_HDIFF_READ_TIMES : LazyLock < Result < Histogram > > = LazyLock :: new ( || {
158158 try_create_histogram (
159- "store_hdiff_buffer_clone_seconds " ,
160- "Time required to clone hierarchical diff buffer bytes" ,
159+ "store_cold_hdiff_read_seconds " ,
160+ "Time required to read the hierarchical diff bytes from the database " ,
161161 )
162162} ) ;
163+ pub static BEACON_COLD_HDIFF_DECODE_TIMES : LazyLock < Result < Histogram > > = LazyLock :: new ( || {
164+ try_create_histogram (
165+ "store_cold_hdiff_decode_seconds" ,
166+ "Time required to decode hierarchical diff bytes" ,
167+ )
168+ } ) ;
169+ pub static BEACON_COLD_HDIFF_BUFFER_CLONE_TIMES : LazyLock < Result < Histogram > > =
170+ LazyLock :: new ( || {
171+ try_create_histogram (
172+ "store_cold_hdiff_buffer_clone_seconds" ,
173+ "Time required to clone hierarchical diff buffer bytes" ,
174+ )
175+ } ) ;
176+ // This metric is not split hot/cold because it is recorded in a place where that info is not known.
163177pub static BEACON_HDIFF_BUFFER_APPLY_RESIZES : LazyLock < Result < Histogram > > = LazyLock :: new ( || {
164178 try_create_histogram_with_buckets (
165179 "store_hdiff_buffer_apply_resizes" ,
0 commit comments