proxy: add measured-tokio

This commit is contained in:
Conrad Ludgate
2024-05-11 11:33:24 +01:00
parent 6351313ae9
commit 2aa74d1aab
6 changed files with 26 additions and 0 deletions

View File

@@ -268,6 +268,10 @@ async fn main() -> anyhow::Result<()> {
build_tag: BUILD_TAG,
});
// add the current runtime to the collector
#[cfg(tokio_unstable)]
neon_metrics.tokio.add_current("proxy");
let jemalloc = match proxy::jemalloc::MetricRecorder::new() {
Ok(t) => Some(t),
Err(e) => {