followup(#8359): pre-initialize circuitbreaker metrics (#8491)

This commit is contained in:
Christian Schwarz
2024-07-25 10:24:28 +02:00
committed by GitHub
parent 6fc2726568
commit d57412aaab
2 changed files with 4 additions and 0 deletions

View File

@@ -3104,6 +3104,8 @@ pub fn preinitialize_metrics() {
&tokio_epoll_uring::THREAD_LOCAL_LAUNCH_SUCCESSES,
&REMOTE_ONDEMAND_DOWNLOADED_LAYERS,
&REMOTE_ONDEMAND_DOWNLOADED_BYTES,
&CIRCUIT_BREAKERS_BROKEN,
&CIRCUIT_BREAKERS_UNBROKEN,
]
.into_iter()
.for_each(|c| {